aboutsummaryrefslogtreecommitdiff
path: root/testes/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'testes/main.lua')
-rw-r--r--testes/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/testes/main.lua b/testes/main.lua
index 4c09645a..da2a9288 100644
--- a/testes/main.lua
+++ b/testes/main.lua
@@ -320,11 +320,11 @@ NoRun("", "lua %s", prog) -- no message
320 320
321-- to-be-closed variables in main chunk 321-- to-be-closed variables in main chunk
322prepfile[[ 322prepfile[[
323 local <toclose> x = function (err) 323 local x <close> = function (err)
324 assert(err == 120) 324 assert(err == 120)
325 print("Ok") 325 print("Ok")
326 end 326 end
327 local <toclose> e1 = function () error(120) end 327 local e1 <close> = function () error(120) end
328 os.exit(true, true) 328 os.exit(true, true)
329]] 329]]
330RUN('lua %s > %s', prog, out) 330RUN('lua %s > %s', prog, out)