summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorshmuz <shmuz>2008-06-22 18:41:44 +0000
committershmuz <shmuz>2008-06-22 18:41:44 +0000
commit54a8e5ff8ba5b24bae3a56d33091703074545b39 (patch)
treeecb5318a6306cbac5546ced55a035b6f9460f1d0 /test
parent198d99c6f8b61322d172b312129fbdd580685bff (diff)
downloadlrexlib-54a8e5ff8ba5b24bae3a56d33091703074545b39.tar.gz
a little fix
Diffstat (limited to 'test')
-rwxr-xr-xtest/luatest.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/luatest.lua b/test/luatest.lua
index 625e21e..ba5a494 100755
--- a/test/luatest.lua
+++ b/test/luatest.lua
@@ -89,6 +89,7 @@ end
-- 2) test results table or error_message
-- 3) test results table or error_message
function test_method (test, constructor, name)
+ local res1, res2
local ok, r = pcall (constructor, unpackNT (test[1]))
if ok then
local t = packNT (pcall (r[name], r, unpackNT (test[2])))