[Libreoffice-commits] core.git: sc/qa

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Tue Feb 9 16:52:56 UTC 2021


 sc/qa/unit/subsequent_export-test.cxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit d03308ad9520d97d948e1143a59f0c259f18ba36
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Feb 9 16:25:15 2021 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Feb 9 17:52:16 2021 +0100

    loplugin:cppunitassertequals (clang-cl)
    
    Change-Id: I9ab5d2047f9a13fb919c31ca66a0020feac08701
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110644
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx
index 14f218aa5eaf..746eda5d3437 100644
--- a/sc/qa/unit/subsequent_export-test.cxx
+++ b/sc/qa/unit/subsequent_export-test.cxx
@@ -3462,7 +3462,11 @@ void ScExportTest::testRelativePathsODS()
         sal_Unicode aDocDrive = lcl_getWindowsDrive(pTempFile->GetURL());
         sal_Unicode aLinkDrive = lcl_getWindowsDrive(aURL);
         CPPUNIT_ASSERT_MESSAGE("document on the same drive but no relative link!",
-                               aDocDrive != 0 && aLinkDrive != 0 && aDocDrive != aLinkDrive);
+                               aDocDrive != 0);
+        CPPUNIT_ASSERT_MESSAGE("document on the same drive but no relative link!",
+                               aLinkDrive != 0);
+        CPPUNIT_ASSERT_MESSAGE("document on the same drive but no relative link!",
+                               aDocDrive != aLinkDrive);
         return;
     }
 #endif


More information about the Libreoffice-commits mailing list