diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-11-11 13:00:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-11 13:00:21 +0100 |
commit | 1aa3c8419b2405d81d04f4fb3ac142fcd355de85 (patch) | |
tree | cb9c9b08941468bc4f7a6aa50e0464ce70b1c03f /tests/core/string/test_string.h | |
parent | 51c8e4429b85b4c39302b8cc9e5a97137b0ad430 (diff) | |
parent | 2beaae4b6f1c4a2c3833a5e205157fd3be2fcabc (diff) |
Merge pull request #54869 from akien-mga/string-remove-erase
Diffstat (limited to 'tests/core/string/test_string.h')
-rw-r--r-- | tests/core/string/test_string.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/core/string/test_string.h b/tests/core/string/test_string.h index e5b26cf5a4..00a9a8779a 100644 --- a/tests/core/string/test_string.h +++ b/tests/core/string/test_string.h @@ -490,12 +490,6 @@ TEST_CASE("[String] Splitting") { } } -TEST_CASE("[String] Erasing") { - String s = "Josephine is such a cute girl!"; - s.erase(s.find("cute "), String("cute ").length()); - CHECK(s == "Josephine is such a girl!"); -} - struct test_27_data { char const *data; char const *part; |