Rename String plus_file to path_join
This commit is contained in:
@ -1359,7 +1359,7 @@ TEST_CASE("[String] Path functions") {
|
||||
CHECK(String(path[i]).get_file() == file[i]);
|
||||
CHECK(String(path[i]).is_absolute_path() == abs[i]);
|
||||
CHECK(String(path[i]).is_relative_path() != abs[i]);
|
||||
CHECK(String(path[i]).simplify_path().get_base_dir().plus_file(file[i]) == String(path[i]).simplify_path());
|
||||
CHECK(String(path[i]).simplify_path().get_base_dir().path_join(file[i]) == String(path[i]).simplify_path());
|
||||
}
|
||||
|
||||
static const char *file_name[3] = { "test.tscn", "test://.xscn", "?tes*t.scn" };
|
||||
|
||||
Reference in New Issue
Block a user