12 lines
670 B
Diff
12 lines
670 B
Diff
|
--- libreoffice-5.1.3.2/basic/qa/cppunit/test_scanner.cxx.orig 2016-05-29 13:05:46.867502168 +0200
|
||
|
+++ libreoffice-5.1.3.2/basic/qa/cppunit/test_scanner.cxx 2016-05-29 13:07:29.017540637 +0200
|
||
|
@@ -579,7 +579,7 @@
|
||
|
CPPUNIT_ASSERT(symbols.size() == 3);
|
||
|
CPPUNIT_ASSERT(symbols[0].number == 1.2);
|
||
|
CPPUNIT_ASSERT(symbols[0].type == SbxDOUBLE);
|
||
|
- CPPUNIT_ASSERT(rtl::math::round( symbols[1].number, 12) == rtl::math::round( .3, 12));
|
||
|
+ CPPUNIT_ASSERT_EQUAL(rtl::math::round( .3, 12), rtl::math::round( symbols[1].number, 12));
|
||
|
CPPUNIT_ASSERT(symbols[1].type == SbxDOUBLE);
|
||
|
CPPUNIT_ASSERT(symbols[2].text == cr);
|
||
|
CPPUNIT_ASSERT(errors == 1);
|