diff options
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 |