summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLightning_A <aaronjrecord@gmail.com>2021-06-16 10:24:34 -0600
committerLightning_A <aaronjrecord@gmail.com>2021-06-16 10:32:22 -0600
commitb6af2a29eb1f96518c89a35a6a50a6309673d9f0 (patch)
tree83014054a222c71409ba4760741b6dcfb12b7981 /tests
parent48fe9c97948f44125e68f3b8f67eaaf032c763bd (diff)
Rename `is_valid_integer()` to `is_valid_int()`
Method from `String`
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]);