diff options
Diffstat (limited to 'sc/qa/unit/helper/shared_test_impl.hxx')
-rw-r--r-- | sc/qa/unit/helper/shared_test_impl.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/qa/unit/helper/shared_test_impl.hxx b/sc/qa/unit/helper/shared_test_impl.hxx index fa31e774c908..666be995b61a 100644 --- a/sc/qa/unit/helper/shared_test_impl.hxx +++ b/sc/qa/unit/helper/shared_test_impl.hxx @@ -279,7 +279,8 @@ void testCeilingFloor_Impl( ScDocument& rDoc ) OUString aRef( OUString::createFromAscii( pORef)); ScAddress aPos; aPos.Parse(aRef); - checkFormula( rDoc, aPos, "AND(K3:K81)", "Wrong formula."); + if (!checkFormula( rDoc, aPos, "AND(K3:K81)")) + CPPUNIT_FAIL("Wrong formula."); CPPUNIT_ASSERT_MESSAGE( OString( OString(pORef) + " result is error.").getStr(), isFormulaWithoutError( rDoc, aPos)); CPPUNIT_ASSERT_EQUAL(1.0, rDoc.GetValue(aPos)); |