diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2007-03-12 04:08:40 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2007-03-12 04:08:40 +0000 |
commit | be2e467929be9f27fbe92fe7b94783635c920c06 (patch) | |
tree | 94054e38f33178d805a6144d3bd9cb76da4a4c76 /test/testclnt.lua | |
parent | 8bf9fb51dd09fb066483247fccbfc979acc84071 (diff) | |
download | luasocket-be2e467929be9f27fbe92fe7b94783635c920c06.tar.gz luasocket-be2e467929be9f27fbe92fe7b94783635c920c06.tar.bz2 luasocket-be2e467929be9f27fbe92fe7b94783635c920c06.zip |
Couple bug fixes.
Diffstat (limited to 'test/testclnt.lua')
-rw-r--r-- | test/testclnt.lua | 2 |
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 | ------------------------------------------------------------------------ |
103 | function test_methods(sock, methods) | 103 | function 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 |