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 21, 2024
1 parent 679dd5b commit f395a1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion revocation/internal/crl/crl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"crypto/x509"
"crypto/x509/pkix"
"encoding/asn1"
"errors"
"fmt"
"io"
"math/big"
Expand Down Expand Up @@ -177,7 +178,7 @@ func TestCertCheckStatus(t *testing.T) {
Transport: expectedRoundTripperMock{Body: crlBytes},
},
})
if r.CRLResults[0].Error != ErrDeltaCRLNotSupported {
if !errors.Is(r.CRLResults[0].Error, ErrDeltaCRLNotSupported) {
t.Fatal("expected ErrDeltaCRLNotChecked")
}
})
Expand Down

0 comments on commit f395a1a

Please sign in to comment.