summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sal/qa/rtl/strings/test_ostring_stringliterals.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/qa/rtl/strings/test_ostring_stringliterals.cxx b/sal/qa/rtl/strings/test_ostring_stringliterals.cxx
index 2176a5023a0c..d665ee2e0f84 100644
--- a/sal/qa/rtl/strings/test_ostring_stringliterals.cxx
+++ b/sal/qa/rtl/strings/test_ostring_stringliterals.cxx
@@ -157,8 +157,7 @@ void test::ostring::StringLiterals::checkNonConstUsage()
rtl_string_unittest_const_literal = false; // start checking for OString conversions
rtl_string_unittest_const_literal_function = false; // and check for const variants
- sleep(10);
- rtl::OString() = (const char*)"foo";
+ CPPUNIT_ASSERT_EQUAL( foo, rtl::OString() = (const char*)"foo" );
CPPUNIT_ASSERT_EQUAL( foo, rtl::OString() = foo_c );
// if this is not true, some of the calls above converted to OString
CPPUNIT_ASSERT( rtl_string_unittest_const_literal == false );