Skip to content
This repository was archived by the owner on Jun 1, 2021. It is now read-only.

Commit 08c4ed3

Browse files
committed
more travis finally?
1 parent 8b5b212 commit 08c4ed3

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

spec/client_ev_spec.lua

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,16 +160,11 @@ describe(
160160
wsc:on_error(async(function(ws,err)
161161
assert.is_same(ws,wsc)
162162
if socket.tcp6 then
163-
print('err',err)
164-
local expected = {
165-
['host or service not provided, or not known'] = true,
166-
['accept failed'] = true
167-
}
168-
assert.is_true(expected[err])
163+
assert.is_equal(err, 'host or service not provided, or not known')
169164
else
170165
assert.is_equal(err,'host not found')
171166
end
172-
-- wsc:close()
167+
-- wsc:close()
173168
done()
174169
end))
175170
wsc:on_close(async(function()

spec/server_ev_spec.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ describe(
107107
sock:close()
108108
end),sock:getfd(),ev.WRITE)
109109
if connected then
110-
connect_io:callback()(loop,connect_io)
110+
connect_io:callback()(loop,connect_io)
111111
else
112112
connect_io:start(loop)
113113
end

0 commit comments

Comments
 (0)