diff options
Diffstat (limited to 'test.lua')
-rwxr-xr-x | test.lua | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -365,7 +365,6 @@ assert(t[print] == 'a' and t[23.5] == 'b' and t[io] == 'c') | |||
365 | -- test for error messages | 365 | -- test for error messages |
366 | local function checkerr (msg, f, ...) | 366 | local function checkerr (msg, f, ...) |
367 | local st, err = pcall(f, ...) | 367 | local st, err = pcall(f, ...) |
368 | print(st, err) | ||
369 | assert(not st and m.match({ m.P(msg) + 1 * m.V(1) }, err)) | 368 | assert(not st and m.match({ m.P(msg) + 1 * m.V(1) }, err)) |
370 | end | 369 | end |
371 | 370 | ||