test/source/diff/diff.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 373074611cdb6ac3931143a03a3505cb489f1442 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Nov 29 10:52:21 2012 +0100 Improve error message Change-Id: Ibaee8bd83e9f34e0258b48d87151ec03c8301a3a diff --git a/test/source/diff/diff.cxx b/test/source/diff/diff.cxx index 048e783..8757104 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits