summaryrefslogtreecommitdiffstats
path: root/tests/test_string.h
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-06-03 15:41:22 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-06-03 16:00:06 +0200
commit5ea1c75d639b53ef1fe84ef33bb65a844f6741b6 (patch)
tree09ec40fd359c5e01757ada06ae9a720c3b91c3c3 /tests/test_string.h
parent7ab34e1a96ad6210bd583a00df379637b31169d6 (diff)
downloadredot-engine-5ea1c75d639b53ef1fe84ef33bb65a844f6741b6.tar.gz
Rename `String.is_abs_path()` to `String.is_absolute_path()`
This is more consistent with `NodePath.is_absolute()`.
Diffstat (limited to 'tests/test_string.h')
-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 6e214574af..7f404a34e8 100644
--- a/tests/test_string.h
+++ b/tests/test_string.h
@@ -1130,7 +1130,7 @@ TEST_CASE("[String] Path functions") {
CHECK(String(path[i]).get_basename() == base_name[i]);
CHECK(String(path[i]).get_extension() == ext[i]);
CHECK(String(path[i]).get_file() == file[i]);
- CHECK(String(path[i]).is_abs_path() == abs[i]);
+ CHECK(String(path[i]).is_absolute_path() == abs[i]);
CHECK(String(path[i]).is_rel_path() != abs[i]);
CHECK(String(path[i]).simplify_path().get_base_dir().plus_file(file[i]) == String(path[i]).simplify_path());
}