Kaydet (Commit) 37307461 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Improve error message

Change-Id: Ibaee8bd83e9f34e0258b48d87151ec03c8301a3a
üst 3051f8be
...@@ -327,7 +327,9 @@ bool XMLDiff::compareAttributes(xmlNodePtr node1, xmlNodePtr node2) ...@@ -327,7 +327,9 @@ bool XMLDiff::compareAttributes(xmlNodePtr node1, xmlNodePtr node2)
else else
{ {
#if USE_CPPUNIT #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 #else
if (dVal1 != dVal2) if (dVal1 != dVal2)
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment