Skip to content

Commit

Permalink
Allow a test to pass where the socket has already been cleaned up
Browse files Browse the repository at this point in the history
  • Loading branch information
Azolo committed Aug 31, 2018
1 parent bf2b9e4 commit 794ba21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/websockex_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ defmodule WebSockexTest do

:sys.resume(context.pid)

assert_receive {:EXIT, _, %WebSockex.ConnError{original: :closed}}
assert_receive {:EXIT, _, %WebSockex.ConnError{}}
assert_received :caught_disconnect
end
end
Expand Down

0 comments on commit 794ba21

Please sign in to comment.