summaryrefslogtreecommitdiff
path: root/server/test/diagnostics/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/diagnostics/init.lua')
-rw-r--r--server/test/diagnostics/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua
index 1ab50954..edb10e82 100644
--- a/server/test/diagnostics/init.lua
+++ b/server/test/diagnostics/init.lua
@@ -115,7 +115,7 @@ print(_)
local _
print(_)
local _ENV
-print(_ENV)
+<!print!>(_ENV) -- 由于重定义了_ENV,因此print变为了未定义全局变量
]]
TEST [[