Skip to content

Commit

Permalink
upd: rubocop check and fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TomFreudenberg committed Jan 21, 2020
1 parent 5b80119 commit b80ba4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/ports_and_connections_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_020_tcp_2_simultan_connects
channel2 = create_socket
result1 = get_blocked_socket(channel1)
assert_equal MSG_WELCOME, result1
assert_raises(IO::WaitReadable) { result2 = get_nonblocked_socket(channel2) }
assert_raises(IO::WaitReadable) { get_nonblocked_socket(channel2) }
close_socket(channel1)
result2 = get_blocked_socket(channel2)
assert_equal MSG_WELCOME, result2
Expand All @@ -62,7 +62,7 @@ def test_030_tcp_3_simultan_connects_and_1_abort
channel3 = create_socket
result1 = get_blocked_socket(channel1)
assert_equal MSG_WELCOME, result1
assert_raises(IO::WaitReadable) { result2 = get_nonblocked_socket(channel2) }
assert_raises(IO::WaitReadable) { get_nonblocked_socket(channel2) }
close_socket(channel1)
result2 = get_blocked_socket(channel2)
assert_equal MSG_WELCOME, result2
Expand Down

0 comments on commit b80ba4f

Please sign in to comment.