summaryrefslogtreecommitdiff
path: root/test/diagnostics/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/diagnostics/init.lua')
-rw-r--r--test/diagnostics/init.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index d4bffdb5..0f5880ae 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -79,7 +79,8 @@ local <!x!>
]]
TEST [[
-local x <close> = print
+local y
+local x <close> = y
]]
TEST [[
@@ -135,11 +136,11 @@ end
)
TEST [[
+local print, _G
print(<!x!>)
print(<!log!>)
print(<!X!>)
print(<!Log!>)
-print(_VERSION)
print(<!y!>)
print(Z)
print(_G)