aboutsummaryrefslogtreecommitdiff
path: root/testes/locals.lua
diff options
context:
space:
mode:
Diffstat (limited to 'testes/locals.lua')
-rw-r--r--testes/locals.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/locals.lua b/testes/locals.lua
index 0de00a98..1b82dd7f 100644
--- a/testes/locals.lua
+++ b/testes/locals.lua
@@ -324,7 +324,7 @@ do
324 324
325 -- errors due to non-closable values 325 -- errors due to non-closable values
326 local function foo () 326 local function foo ()
327 local <toclose> x = 34 327 local <toclose> x = {}
328 end 328 end
329 local stat, msg = pcall(foo) 329 local stat, msg = pcall(foo)
330 assert(not stat and string.find(msg, "variable 'x'")) 330 assert(not stat and string.find(msg, "variable 'x'"))