summaryrefslogtreecommitdiff
path: root/sc/qa/extras
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-09-16 18:25:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-09-16 18:25:53 +0200
commitcfde3fd966ae9ef35fe685759e7e19bf0b8466ab (patch)
treeecb9027c15a8ed5c3d5517557009bdb57210bf0f /sc/qa/extras
parent5fb8a050210a7cabf49daac0da8f80b94d60de2c (diff)
Improve test failure output
Change-Id: Idf3838e1a434b0667e43b1168909e2d3d86cdc43
Diffstat (limited to 'sc/qa/extras')
-rw-r--r--sc/qa/extras/macros-test.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/extras/macros-test.cxx b/sc/qa/extras/macros-test.cxx
index f07ab311766d..064dccd09c55 100644
--- a/sc/qa/extras/macros-test.cxx
+++ b/sc/qa/extras/macros-test.cxx
@@ -330,8 +330,8 @@ void ScMacrosTest::testVba()
aOutParam);
OUString aStringRes;
aRet >>= aStringRes;
- SAL_INFO("sc.qa", "value of Ret " << aStringRes);
- CPPUNIT_ASSERT_MESSAGE( "script reported failure", aStringRes == "OK" );
+ CPPUNIT_ASSERT_EQUAL_MESSAGE(
+ "script reported failure", OUString("OK"), aStringRes);
pFoundShell->DoClose();
if ( bWorkbooksHandling )
{