From 298904d74e9a2c17442157687911fbc60fb06d8d Mon Sep 17 00:00:00 2001 From: rune-scape Date: Tue, 23 Jul 2024 12:58:58 -0700 Subject: [PATCH] GDScriptTestRunner: Fix compiler error output --- modules/gdscript/tests/gdscript_test_runner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gdscript/tests/gdscript_test_runner.cpp b/modules/gdscript/tests/gdscript_test_runner.cpp index fbfa4a0a79e..025fcbd32a3 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); }