diff options
-rw-r--r-- | basic/qa/cppunit/test_vba.cxx | 2 |
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 |