summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-06-16 01:19:56 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-06-16 15:59:06 +0200
commit6e283043ee0e268b97653de5819b90e08e1944ad (patch)
tree7238666b576983cbef4779586a69ec22c28322e2 /sc/qa
parent3b9620e18bdcb91a229e9aefef5192f346030b52 (diff)
use ASSERT_EQUAL to get better diagnostic message
Change-Id: I51d92e6d7a012bb9daf5eba5f982fa4bffbba28e
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/unit/ucalc.cxx2
1 files changed, 1 insertions, 1 deletions
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]));
}
}
}