Rename empty() to is_empty()
This commit is contained in:
parent
886571e0fc
commit
5b937d493f
289 changed files with 898 additions and 898 deletions
|
|
@ -259,11 +259,11 @@ TEST_CASE("[GDNative String] Testing for empty string") {
|
|||
godot_string s;
|
||||
|
||||
godot_string_new_with_latin1_chars(&s, "Mellon");
|
||||
CHECK(!godot_string_empty(&s));
|
||||
CHECK(!godot_string_is_empty(&s));
|
||||
godot_string_destroy(&s);
|
||||
|
||||
godot_string_new_with_latin1_chars(&s, "");
|
||||
CHECK(godot_string_empty(&s));
|
||||
CHECK(godot_string_is_empty(&s));
|
||||
godot_string_destroy(&s);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue