summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/source/diff/diff.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/diff/diff.cxx b/test/source/diff/diff.cxx
index 4d130232b881..8587fd799eb0 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;