diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-18 16:14:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-18 16:14:14 +0200 |
commit | 92f20fd70e6957cd65ccb7837fdc28f9b1e4a315 (patch) | |
tree | 0e1bc221f9883213d7092fc3858788ee14deecf8 /tests | |
parent | 98b5280d1fe6e6287c564d80a4ae7b61fc7bd4b0 (diff) | |
parent | b6af2a29eb1f96518c89a35a6a50a6309673d9f0 (diff) |
Merge pull request #49659 from LightningAA/string-valid-integer-to-int
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_string.h | 2 |
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]); |