diff options
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Complex/Executable/complex.cxx | 3 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/Executable/complex.cxx | 3 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/Executable/complex.cxx | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx index b08dcdc..8600e10 100644 --- a/Tests/Complex/Executable/complex.cxx +++ b/Tests/Complex/Executable/complex.cxx @@ -475,10 +475,11 @@ int main() std::vector<std::string> v2; v = v2; std::string cachetest = CACHE_TEST_VAR_INTERNAL; + v.push_back(cachetest); + v2 = v; std::string copy = cachetest; cachetest.find("bar"); cachetest.rfind("bar"); - copy.replace(0,0,0,'a'); copy.append(cachetest); copy = cachetest.substr(0, cachetest.size()); if(cachetest != "bar") diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx index b08dcdc..8600e10 100644 --- a/Tests/ComplexOneConfig/Executable/complex.cxx +++ b/Tests/ComplexOneConfig/Executable/complex.cxx @@ -475,10 +475,11 @@ int main() std::vector<std::string> v2; v = v2; std::string cachetest = CACHE_TEST_VAR_INTERNAL; + v.push_back(cachetest); + v2 = v; std::string copy = cachetest; cachetest.find("bar"); cachetest.rfind("bar"); - copy.replace(0,0,0,'a'); copy.append(cachetest); copy = cachetest.substr(0, cachetest.size()); if(cachetest != "bar") diff --git a/Tests/ComplexRelativePaths/Executable/complex.cxx b/Tests/ComplexRelativePaths/Executable/complex.cxx index b08dcdc..8600e10 100644 --- a/Tests/ComplexRelativePaths/Executable/complex.cxx +++ b/Tests/ComplexRelativePaths/Executable/complex.cxx @@ -475,10 +475,11 @@ int main() std::vector<std::string> v2; v = v2; std::string cachetest = CACHE_TEST_VAR_INTERNAL; + v.push_back(cachetest); + v2 = v; std::string copy = cachetest; cachetest.find("bar"); cachetest.rfind("bar"); - copy.replace(0,0,0,'a'); copy.append(cachetest); copy = cachetest.substr(0, cachetest.size()); if(cachetest != "bar") |