Vadim's new test broke subsequent asserts, fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-08-20 12:30:06 +00:00
parent c8f313b256
commit 74374c9ecd

View File

@@ -176,9 +176,6 @@ void StdStringTestCase::StdAssign()
CPPUNIT_ASSERT( s5 == _T("aaa") );
CPPUNIT_ASSERT( s6 == _T("ef") );
s1.assign(s1, 1, 1);
WX_ASSERT_STR_EQUAL("e", s1);
const char *pc = s1.c_str();
s7.assign(pc, pc + 2);
WX_ASSERT_STR_EQUAL( "de", s7 );
@@ -186,6 +183,9 @@ void StdStringTestCase::StdAssign()
const wchar_t *pw = s1.c_str();
s8.assign(pw + 2, pw + 3);
WX_ASSERT_STR_EQUAL( "f", s8 );
s1.assign(s1, 1, 1);
WX_ASSERT_STR_EQUAL("e", s1);
}
void StdStringTestCase::StdCompare()