summaryrefslogtreecommitdiff
path: root/testes/tpack.lua
diff options
context:
space:
mode:
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)
-- check errors in arguments
-function checkerror (msg, f, ...)
+local function checkerror (msg, f, ...)
local status, err = pcall(f, ...)
-- print(status, err, msg)
assert(not status and string.find(err, msg))