mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add has_extension() method to String
This commit is contained in:
parent
ca452113d4
commit
a33ae0be0e
29 changed files with 46 additions and 48 deletions
|
|
@ -282,7 +282,7 @@ bool GDScriptTestRunner::make_tests_for_dir(const String &p_dir) {
|
|||
} else if (binary_tokens && next.ends_with(".textonly.gd")) {
|
||||
next = dir->get_next();
|
||||
continue;
|
||||
} else if (next.get_extension().to_lower() == "gd") {
|
||||
} else if (next.has_extension("gd")) {
|
||||
#ifndef DEBUG_ENABLED
|
||||
// On release builds, skip tests marked as debug only.
|
||||
Error open_err = OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue