[Libreoffice-commits] core.git: sal/qa
Stephan Bergmann
sbergman at redhat.com
Sun Jan 17 23:19:25 PST 2016
sal/qa/rtl/oustring/rtl_OUString2.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 2bb1d4b79ac044ebbdc33f60bf7bc2e01549dccb
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Jan 18 08:18:52 2016 +0100
Trade a little weaker test against loplugin:stringconstant
(what prompted writing that very fundamental test now anyway?)
Change-Id: I83884908f8f5b1e4d58575960c77b411183f2fbb
diff --git a/sal/qa/rtl/oustring/rtl_OUString2.cxx b/sal/qa/rtl/oustring/rtl_OUString2.cxx
index 0126f4d..6c44741 100644
--- a/sal/qa/rtl/oustring/rtl_OUString2.cxx
+++ b/sal/qa/rtl/oustring/rtl_OUString2.cxx
@@ -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() );
}
More information about the Libreoffice-commits
mailing list