]> git.saurik.com Git - wxWidgets.git/commitdiff
Add reverse case too
authorRyan Norton <wxprojects@comcast.net>
Mon, 11 Apr 2005 09:13:11 +0000 (09:13 +0000)
committerRyan Norton <wxprojects@comcast.net>
Mon, 11 Apr 2005 09:13:11 +0000 (09:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/strings/strings.cpp

index 652dc86eb799a99eef9fea5b13ff0f994998257a..aafd0dba577ab24406132e0ca379678d53dae05c 100644 (file)
@@ -479,6 +479,9 @@ void StringTestCase::Replace()
     TEST_WXREPLACE( _T("null\0char"), 9, _T("c"), _T("de"), true,
                           _T("null\0dehar"), 10 );   
 
+    TEST_WXREPLACE( _T("null\0dehar"), 10, _T("de"), _T("c"), true,
+                          _T("null\0char"), 9 );   
+
     #undef TEST_WXREPLACE
     #undef TEST_NULLCHARREPLACE
     #undef TEST_REPLACE