diff options
Diffstat (limited to 'modules/gdscript/tests')
4 files changed, 6 insertions, 6 deletions
| diff --git a/modules/gdscript/tests/gdscript_test_runner.cpp b/modules/gdscript/tests/gdscript_test_runner.cpp index e3b956369d..6c346acb7e 100644 --- a/modules/gdscript/tests/gdscript_test_runner.cpp +++ b/modules/gdscript/tests/gdscript_test_runner.cpp @@ -247,7 +247,7 @@ bool GDScriptTestRunner::make_tests_for_dir(const String &p_dir) {  				next = dir->get_next();  				continue;  			} -			if (!make_tests_for_dir(current_dir.plus_file(next))) { +			if (!make_tests_for_dir(current_dir.path_join(next))) {  				return false;  			}  		} else { @@ -255,7 +255,7 @@ bool GDScriptTestRunner::make_tests_for_dir(const String &p_dir) {  #ifndef DEBUG_ENABLED  				// On release builds, skip tests marked as debug only.  				Error open_err = OK; -				Ref<FileAccess> script_file(FileAccess::open(current_dir.plus_file(next), FileAccess::READ, &open_err)); +				Ref<FileAccess> script_file(FileAccess::open(current_dir.path_join(next), FileAccess::READ, &open_err));  				if (open_err != OK) {  					ERR_PRINT(vformat(R"(Couldn't open test file "%s".)", next));  					next = dir->get_next(); @@ -272,7 +272,7 @@ bool GDScriptTestRunner::make_tests_for_dir(const String &p_dir) {  				if (!is_generating && !dir->file_exists(out_file)) {  					ERR_FAIL_V_MSG(false, "Could not find output file for " + next);  				} -				GDScriptTest test(current_dir.plus_file(next), current_dir.plus_file(out_file), source_dir); +				GDScriptTest test(current_dir.path_join(next), current_dir.path_join(out_file), source_dir);  				tests.push_back(test);  			}  		} diff --git a/modules/gdscript/tests/scripts/analyzer/features/property_inline.out b/modules/gdscript/tests/scripts/analyzer/features/property_inline.out index 5482592e90..63e59398ae 100644 --- a/modules/gdscript/tests/scripts/analyzer/features/property_inline.out +++ b/modules/gdscript/tests/scripts/analyzer/features/property_inline.out @@ -1,5 +1,5 @@  GDTEST_OK -null +<null>  0  1  2 diff --git a/modules/gdscript/tests/scripts/parser/features/function_many_parameters.out b/modules/gdscript/tests/scripts/parser/features/function_many_parameters.out index 3a979227d4..80df7a3d4c 100644 --- a/modules/gdscript/tests/scripts/parser/features/function_many_parameters.out +++ b/modules/gdscript/tests/scripts/parser/features/function_many_parameters.out @@ -1,2 +1,2 @@  GDTEST_OK -123456789101112131415161718192212223242526272829303132333435363738394041424344454647falsetruenull +123456789101112131415161718192212223242526272829303132333435363738394041424344454647falsetrue<null> diff --git a/modules/gdscript/tests/scripts/parser/features/str_preserves_case.out b/modules/gdscript/tests/scripts/parser/features/str_preserves_case.out index abba38e87c..867f45f0ac 100644 --- a/modules/gdscript/tests/scripts/parser/features/str_preserves_case.out +++ b/modules/gdscript/tests/scripts/parser/features/str_preserves_case.out @@ -1,4 +1,4 @@  GDTEST_OK -null +<null>  true  false |