[Libreoffice-commits] core.git: sc/qa
Stephan Bergmann
sbergman at redhat.com
Fri Sep 16 16:27:07 UTC 2016
sc/qa/extras/macros-test.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit cfde3fd966ae9ef35fe685759e7e19bf0b8466ab
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Sep 16 18:25:53 2016 +0200
Improve test failure output
Change-Id: Idf3838e1a434b0667e43b1168909e2d3d86cdc43
diff --git a/sc/qa/extras/macros-test.cxx b/sc/qa/extras/macros-test.cxx
index f07ab31..064dccd 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 )
{
More information about the Libreoffice-commits
mailing list