Skip to content

Commit

Permalink
improve GOOS=tamago test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
abarisani committed Sep 9, 2024
1 parent c829a62 commit 1ece41e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/crypto/tls/handshake_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2625,7 +2625,7 @@ func TestClientHandshakeContextCancellation(t *testing.T) {
if err != context.Canceled {
t.Errorf("Unexpected client handshake error: %v", err)
}
if runtime.GOARCH == "wasm" {
if runtime.GOARCH == "wasm" || runtime.GOOS == "tamago" {
t.Skip("conn.Close does not error as expected when called multiple times on WASM")
}
err = cli.Close()
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/tls/handshake_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1978,7 +1978,7 @@ func TestServerHandshakeContextCancellation(t *testing.T) {
if err != context.Canceled {
t.Errorf("Unexpected server handshake error: %v", err)
}
if runtime.GOARCH == "wasm" {
if runtime.GOARCH == "wasm" || runtime.GOOS == "tamago" {
t.Skip("conn.Close does not error as expected when called multiple times on WASM")
}
err = conn.Close()
Expand Down

0 comments on commit 1ece41e

Please sign in to comment.