summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-06-18 16:14:14 +0200
committerGitHub <noreply@github.com>2021-06-18 16:14:14 +0200
commit92f20fd70e6957cd65ccb7837fdc28f9b1e4a315 (patch)
tree0e1bc221f9883213d7092fc3858788ee14deecf8 /tests
parent98b5280d1fe6e6287c564d80a4ae7b61fc7bd4b0 (diff)
parentb6af2a29eb1f96518c89a35a6a50a6309673d9f0 (diff)
Merge pull request #49659 from LightningAA/string-valid-integer-to-int
Diffstat (limited to 'tests')
-rw-r--r--tests/test_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_string.h b/tests/test_string.h
index 7f404a34e8..1982d8de60 100644
--- a/tests/test_string.h
+++ b/tests/test_string.h
@@ -1317,7 +1317,7 @@ TEST_CASE("[String] Is_*") {
for (int i = 0; i < 12; i++) {
String s = String(data[i]);
CHECK(s.is_numeric() == isnum[i]);
- CHECK(s.is_valid_integer() == isint[i]);
+ CHECK(s.is_valid_int() == isint[i]);
CHECK(s.is_valid_hex_number(false) == ishex[i]);
CHECK(s.is_valid_hex_number(true) == ishex_p[i]);
CHECK(s.is_valid_float() == isflt[i]);