summaryrefslogtreecommitdiffstats
path: root/modules/gdscript
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-07-24 09:59:34 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-07-24 09:59:34 +0200
commitd342df79d5f31ae4f3e315cd6a6dcb3f2c481f8a (patch)
treeb4ab8beee82eecec0bae35a5e933c415270ca2c7 /modules/gdscript
parent62c88a4052b42d9195cc6256fb993086d772f01f (diff)
parent298904d74e9a2c17442157687911fbc60fb06d8d (diff)
downloadredot-engine-d342df79d5f31ae4f3e315cd6a6dcb3f2c481f8a.tar.gz
Merge pull request #94676 from rune-scape/test-oops
GDScriptTestRunner: Fix compiler error output
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/tests/gdscript_test_runner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/tests/gdscript_test_runner.cpp b/modules/gdscript/tests/gdscript_test_runner.cpp
index fbfa4a0a79..025fcbd32a 100644
--- a/modules/gdscript/tests/gdscript_test_runner.cpp
+++ b/modules/gdscript/tests/gdscript_test_runner.cpp
@@ -622,7 +622,7 @@ GDScriptTest::TestResult GDScriptTest::execute_test_code(bool p_is_generating) {
enable_stdout();
result.status = GDTEST_COMPILER_ERROR;
result.output = get_text_for_status(result.status) + "\n";
- result.output = compiler.get_error();
+ result.output += compiler.get_error() + "\n";
if (!p_is_generating) {
result.passed = check_output(result.output);
}