From 1e881f2f4d5fa52da1af9a844c47532d2a1404bf Mon Sep 17 00:00:00 2001 From: kindlich Date: Fri, 6 Sep 2024 23:43:19 +0200 Subject: [PATCH] Update shadowing test so that it actually tests what it is supposed to Currently it still fails, though. --- .../src/main/resources/zencode_tests/functions/shadowing.zc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ScriptingEngineTester/src/main/resources/zencode_tests/functions/shadowing.zc b/ScriptingEngineTester/src/main/resources/zencode_tests/functions/shadowing.zc index 63b8a29f8..15e0c8911 100644 --- a/ScriptingEngineTester/src/main/resources/zencode_tests/functions/shadowing.zc +++ b/ScriptingEngineTester/src/main/resources/zencode_tests/functions/shadowing.zc @@ -1,6 +1,9 @@ +#output: Shadowed: Hello -function println(a as string) { +import testsupport.SharedGlobals; +function println(a as string) as void { + SharedGlobals.println("Shadowed: " + a); } println("Hello");