diff options
Diffstat (limited to 'testes/tpack.lua')
| -rw-r--r-- | testes/tpack.lua | 2 |
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 |
| 38 | function checkerror (msg, f, ...) | 38 | local 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)) |
