aboutsummaryrefslogtreecommitdiff
path: root/testes/tpack.lua
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-12-28 18:38:20 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-12-28 18:38:20 -0300
commitb5ab31a475ccf5f96c2ffb34fccc1d6592913794 (patch)
treeef6d2b1844ca672dc81ab4411e37abbef2b7c48f /testes/tpack.lua
parent140cdcced5e28bde7a89e88fcae428f318565f1d (diff)
parent314745ed8438d1276c6c928d5f9d4be018dfadb6 (diff)
downloadlua-b5ab31a475ccf5f96c2ffb34fccc1d6592913794.tar.gz
lua-b5ab31a475ccf5f96c2ffb34fccc1d6592913794.tar.bz2
lua-b5ab31a475ccf5f96c2ffb34fccc1d6592913794.zip
Merge branch 'master' into nextversion
Diffstat (limited to 'testes/tpack.lua')
-rw-r--r--testes/tpack.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/tpack.lua b/testes/tpack.lua
index 2b9953f8..bfa63fc4 100644
--- a/testes/tpack.lua
+++ b/testes/tpack.lua
@@ -35,7 +35,7 @@ print("\talignment: " .. align)
35 35
36 36
37-- check errors in arguments 37-- check errors in arguments
38function checkerror (msg, f, ...) 38local function checkerror (msg, f, ...)
39 local status, err = pcall(f, ...) 39 local status, err = pcall(f, ...)
40 -- print(status, err, msg) 40 -- print(status, err, msg)
41 assert(not status and string.find(err, msg)) 41 assert(not status and string.find(err, msg))