aboutsummaryrefslogtreecommitdiff
path: root/test/testclnt.lua
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2007-03-12 04:08:40 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2007-03-12 04:08:40 +0000
commitbe2e467929be9f27fbe92fe7b94783635c920c06 (patch)
tree94054e38f33178d805a6144d3bd9cb76da4a4c76 /test/testclnt.lua
parent8bf9fb51dd09fb066483247fccbfc979acc84071 (diff)
downloadluasocket-be2e467929be9f27fbe92fe7b94783635c920c06.tar.gz
luasocket-be2e467929be9f27fbe92fe7b94783635c920c06.tar.bz2
luasocket-be2e467929be9f27fbe92fe7b94783635c920c06.zip
Couple bug fixes.
Diffstat (limited to 'test/testclnt.lua')
-rw-r--r--test/testclnt.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testclnt.lua b/test/testclnt.lua
index cf71c9f..304cfd3 100644
--- a/test/testclnt.lua
+++ b/test/testclnt.lua
@@ -101,7 +101,7 @@ control:setoption("tcp-nodelay", true)
101 101
102------------------------------------------------------------------------ 102------------------------------------------------------------------------
103function test_methods(sock, methods) 103function test_methods(sock, methods)
104 for _, v in methods do 104 for _, v in pairs(methods) do
105 if type(sock[v]) ~= "function" then 105 if type(sock[v]) ~= "function" then
106 fail(sock.class .. " method '" .. v .. "' not registered") 106 fail(sock.class .. " method '" .. v .. "' not registered")
107 end 107 end