Skip to content

Commit

Permalink
fix: update
Browse files Browse the repository at this point in the history
Signed-off-by: Junjie Gao <[email protected]>
  • Loading branch information
JeyJeyGao committed Aug 22, 2024
1 parent 9d91fb6 commit 266d814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion revocation/internal/ocsp/ocsp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func TestCheckStatus(t *testing.T) {

t.Run("certificate doesn't support OCSP", func(t *testing.T) {
_, err := CertCheckStatus(&x509.Certificate{}, revokableIssuerTuple.Cert, CertCheckStatusOptions{})
if !errors.Is(err, NoServerError{}) {
if !errors.Is(err, &NoServerError{}) {
t.Errorf("Expected error to be NoServerError, but got %v", err)
}

Expand Down

0 comments on commit 266d814

Please sign in to comment.