diff options
author | Sergio Queiroz <sqmedeiros@gmail.com> | 2016-06-28 10:01:07 -0300 |
---|---|---|
committer | Sergio Queiroz <sqmedeiros@gmail.com> | 2016-06-28 10:01:07 -0300 |
commit | 49b52e114adccbde5eccc51a01f7b0206cb1f61c (patch) | |
tree | 1e2e1d9959f670a666d368a54678621e546211c8 /test.lua | |
parent | fcb1ee1ca4b26a634e33cf70294f8a6370151e97 (diff) | |
download | lpeglabel-49b52e114adccbde5eccc51a01f7b0206cb1f61c.tar.gz lpeglabel-49b52e114adccbde5eccc51a01f7b0206cb1f61c.tar.bz2 lpeglabel-49b52e114adccbde5eccc51a01f7b0206cb1f61c.zip |
Removing 'print' statement
Diffstat (limited to '')
-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 | ||