Skip to content

Commit

Permalink
test: remove meaningless assertions to avoid errors on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
homuler committed May 19, 2024
1 parent 1b908b9 commit 8c84488
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -653,9 +653,6 @@ func TestNewTLSListner_can_handle_invalid_client(t *testing.T) {
_, err = clientConn.Write([]byte("hello, world\n"))
assert.NoError(t, err, "failed to write to the MITM server")

_, err = io.ReadAll(clientConn)
assert.ErrorContains(t, err, "read: connection reset by peer")

<-done
}

Expand Down

0 comments on commit 8c84488

Please sign in to comment.