sc/qa/unit/ucalc_formula.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit de669d714fa6f7d33d6df6e323c72710f470f77c Author: Markus Mohrhard <[email protected]> Date: Wed Feb 17 20:24:07 2016 +0100 use better asserter macro Change-Id: I144545f5376acbab164e05aecd8937d336e50e9b Reviewed-on: https://gerrit.libreoffice.org/22455 Tested-by: Jenkins <[email protected]> Reviewed-by: Markus Mohrhard <[email protected]> diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx index e3863bc..d66233b 100644 --- a/sc/qa/unit/ucalc_formula.cxx +++ b/sc/qa/unit/ucalc_formula.cxx @@ -5569,7 +5569,7 @@ void Test::testExternalRefFunctions() { m_pDoc->SetString(0, 0, 0, OUString::createFromAscii(aChecks[i].pFormula)); m_pDoc->GetValue(0, 0, 0, val); - CPPUNIT_ASSERT_MESSAGE("unexpected result involving external ranges.", val == aChecks[i].fResult); + CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE("unexpected result involving external ranges.", aChecks[i].fResult, val, 1e-15); } pRefMgr->clearCache(nFileId); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
