added test for Replace(whatever, "")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
dd79ca2fd8
commit
817d057840
@ -333,6 +333,8 @@ void StringTestCase::Replace()
|
||||
TEST_WXREPLACE( _T("null\0dehar"), 10, _T("de"), _T("c"), true,
|
||||
_T("null\0char"), 9 );
|
||||
|
||||
TEST_WXREPLACE( "life", 4, "f", "", false, "lie", 3 );
|
||||
|
||||
#undef TEST_WXREPLACE
|
||||
#undef TEST_NULLCHARREPLACE
|
||||
#undef TEST_REPLACE
|
||||
|
Loading…
Reference in New Issue
Block a user