Trade a little weaker test against loplugin:stringconstant

(what prompted writing that very fundamental test now anyway?)

Change-Id: I83884908f8f5b1e4d58575960c77b411183f2fbb
This commit is contained in:
Stephan Bergmann
2016-01-18 08:18:52 +01:00
parent cb20f46895
commit 2bb1d4b79a

View File

@@ -1001,10 +1001,6 @@ void isEmpty::test() {
aString.clear();
CPPUNIT_ASSERT_EQUAL_MESSAGE( "aString.clear(), so should now be empty", true, aString.isEmpty() );
aString = "Not empty any more";
aString = "";
CPPUNIT_ASSERT_EQUAL_MESSAGE( "aString = \"\", so should now be empty", true, aString.isEmpty() );
}