diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-11-29 10:52:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-11-29 10:52:21 +0100 |
commit | 373074611cdb6ac3931143a03a3505cb489f1442 (patch) | |
tree | 1596372375053719b7c1530919973a5b45477c37 /test/source/diff | |
parent | 3051f8be18ab878399a9850474876d4c8bd01e5d (diff) |
Improve error message
Change-Id: Ibaee8bd83e9f34e0258b48d87151ec03c8301a3a
Diffstat (limited to 'test/source/diff')
-rw-r--r-- | test/source/diff/diff.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/source/diff/diff.cxx b/test/source/diff/diff.cxx index 048e7835384f..8757104bf43e 100644 --- a/test/source/diff/diff.cxx +++ b/test/source/diff/diff.cxx @@ -327,7 +327,9 @@ bool XMLDiff::compareAttributes(xmlNodePtr node1, xmlNodePtr node2) else { #if USE_CPPUNIT - CPPUNIT_ASSERT_DOUBLES_EQUAL(dVal1, dVal2, 1e-08); + CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE( + reinterpret_cast< char const * >(attr1->name), dVal1, dVal2, + 1e-08); #else if (dVal1 != dVal2) return false; |