Skip to content

Commit

Permalink
AssertNoError
Browse files Browse the repository at this point in the history
  • Loading branch information
fortuna committed Aug 18, 2023
1 parent f906a20 commit d5ee7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport/socks5/stream_dialer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func TestSOCKS5Dialer_Dial(t *testing.T) {
n, err := serverConn.Write(requestText)
require.NoError(t, err)
require.Equal(t, len(requestText), n)
assert.Nil(t, serverConn.CloseWrite())
assert.NoError(t, serverConn.CloseWrite())

err = iotest.TestReader(serverConn, responseText)
require.NoError(t, err, "Response read failed: %v", err)
Expand Down

0 comments on commit d5ee7aa

Please sign in to comment.