Kaydet (Commit) 38f70cd7 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cppunitassertequals: basic

Change-Id: Icaa3e0eace6ccff365d4ebdb007771fc8a78671a
üst 6414f7e5
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment