Skip to content

Commit

Permalink
remove unnecessary test check
Browse files Browse the repository at this point in the history
  • Loading branch information
qmuntal committed Nov 26, 2024
1 parent 2035279 commit 6744ee3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ecdh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,6 @@ func TestECDHNewPrivateKeyECDH_Invalid(t *testing.T) {
t.Errorf("unexpectedly accepted %q", input)
} else if k != nil {
t.Error("PrivateKey was not nil on error")
} else if strings.Contains(err.Error(), "boringcrypto") {
t.Errorf("boringcrypto error leaked out: %v", err)
}
}
})
Expand All @@ -290,8 +288,6 @@ func TestECDHNewPublicKeyECDH_Invalid(t *testing.T) {
t.Errorf("unexpectedly accepted %q", input)
} else if k != nil {
t.Error("PublicKey was not nil on error")
} else if strings.Contains(err.Error(), "boringcrypto") {
t.Errorf("boringcrypto error leaked out: %v", err)
}
}
})
Expand Down

0 comments on commit 6744ee3

Please sign in to comment.