summaryrefslogtreecommitdiffstats
path: root/tests/core/string/test_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core/string/test_string.h')
-rw-r--r--tests/core/string/test_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core/string/test_string.h b/tests/core/string/test_string.h
index c10ad6e13d..02349aedc0 100644
--- a/tests/core/string/test_string.h
+++ b/tests/core/string/test_string.h
@@ -1716,7 +1716,7 @@ TEST_CASE("[String] validate_identifier") {
CHECK(empty_string.validate_identifier() == "_");
String numeric_only = "12345";
- CHECK(numeric_only.validate_identifier() == "_2345");
+ CHECK(numeric_only.validate_identifier() == "_12345");
String name_with_spaces = "Name with spaces";
CHECK(name_with_spaces.validate_identifier() == "Name_with_spaces");