Skip to content

Commit

Permalink
fix test-
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Jan 23, 2025
1 parent f8f5772 commit 69085b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/transport/webtransport/transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func TestHashVerification(t *testing.T) {
var trErr *quic.TransportError
require.ErrorAs(t, err, &trErr)
require.Equal(t, quic.TransportErrorCode(0x12a), trErr.ErrorCode)
require.Contains(t, errors.Unwrap(trErr).Error(), "cert hash not found")
require.ErrorContains(t, trErr, "cert hash not found")
})

t.Run("fails when adding a wrong hash", func(t *testing.T) {
Expand Down

0 comments on commit 69085b3

Please sign in to comment.