summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-28 14:21:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-28 14:21:30 +0200
commit38f70cd77098fb719f36853f481cf7fe13132495 (patch)
tree01e2cb7280448ca44277e93882dfd0299108c9d8 /basic
parent6414f7e5333b68840537be1576ec7068f01061ba (diff)
loplugin:cppunitassertequals: basic
Change-Id: Icaa3e0eace6ccff365d4ebdb007771fc8a78671a
Diffstat (limited to 'basic')
-rw-r--r--basic/qa/cppunit/test_vba.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/qa/cppunit/test_vba.cxx b/basic/qa/cppunit/test_vba.cxx
index 4ae819c06ab3..a89cb88c6000 100644
--- a/basic/qa/cppunit/test_vba.cxx
+++ b/basic/qa/cppunit/test_vba.cxx
@@ -208,7 +208,7 @@ void VBATest::testMiscOLEStuff()
fprintf(stderr, "macro returned:\n%s\n", OUStringToOString( pReturn->GetOUString(), RTL_TEXTENCODING_UTF8 ).getStr() );
}
CPPUNIT_ASSERT_MESSAGE("No return variable huh?", pReturn.get() != nullptr );
- CPPUNIT_ASSERT_MESSAGE("Result not as expected", pReturn->GetOUString() == "OK" );
+ CPPUNIT_ASSERT_EQUAL_MESSAGE("Result not as expected", OUString("OK"), pReturn->GetOUString() );
}
#else
// Avoid "this method is empty and should be removed" warning