[Libreoffice-commits] .: test/source

Markus Mohrhard mmohrhard at kemper.freedesktop.org
Thu Apr 26 19:12:38 PDT 2012


 test/source/diff/diff.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9e82b503fe794df56be48cce0bff3c6c08111358
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Fri Apr 27 04:12:08 2012 +0200

    use the correct macro
    
    don't push at 3a.m.
    
    Change-Id: Ia50253fe136bab3ebef7a71ba5dbf87e752c2e1a

diff --git a/test/source/diff/diff.cxx b/test/source/diff/diff.cxx
index 4d13023..8587fd7 100644
--- a/test/source/diff/diff.cxx
+++ b/test/source/diff/diff.cxx
@@ -128,7 +128,7 @@ bool XMLDiff::compare()
     CPPUNIT_ASSERT(root2);
     std::stringstream stringStream("Expected: ");
     stringStream << (char*)root1->name << "\nFound: " << (char*) root2->name;
-    CPPUNIT_ASSERT(stringStream.str(), xmlStrEqual(root1->name, root2->name));
+    CPPUNIT_ASSERT_MESSAGE(stringStream.str(), xmlStrEqual(root1->name, root2->name));
 #else
     if (!root1 || !root2)
         return false;


More information about the Libreoffice-commits mailing list