diff --git a/Foundation/testsuite/src/StringTest.cpp b/Foundation/testsuite/src/StringTest.cpp index 031ce13b3..b640eeb44 100644 --- a/Foundation/testsuite/src/StringTest.cpp +++ b/Foundation/testsuite/src/StringTest.cpp @@ -431,6 +431,10 @@ void StringTest::testReplaceInPlace() replaceInPlace(s, std::string("aa"), std::string("xx")); assertTrue (s == "xxbbccdd"); + + s = "aabbccdd"; + replaceInPlace(s, "aa", "xx"); + assertTrue (s == "xxbbccdd"); s = "aabbccdd"; replaceInPlace(s, 'a', 'x');