From 6e283043ee0e268b97653de5819b90e08e1944ad Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sun, 16 Jun 2013 01:19:56 +0200 Subject: use ASSERT_EQUAL to get better diagnostic message Change-Id: I51d92e6d7a012bb9daf5eba5f982fa4bffbba28e --- sc/qa/unit/ucalc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/qa') diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 734b1729d92d..d3be23cd5327 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -5422,7 +5422,7 @@ void Test::testFunctionLists() for (sal_uInt32 j = 0; j < nFuncCount; ++j) { const formula::IFunctionDescription* pFunc = pCat->getFunction(j); - CPPUNIT_ASSERT_MESSAGE("Unexpected function name", pFunc->getFunctionName().equalsAscii(aTests[i].Functions[j])); + CPPUNIT_ASSERT_EQUAL_MESSAGE("Unexpected function name", pFunc->getFunctionName(), OUString::createFromAscii(aTests[i].Functions[j])); } } } -- cgit