]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/strings/strings.cpp
Add reverse case too
[wxWidgets.git] / 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