@@ -79,7 +79,7 @@ func TestTypedAuditInfoMatcher(t *testing.T) {
7979 err := typedMatcher .Match (context .Background (), typedID )
8080 require .Error (t , err )
8181 assert .Contains (t , err .Error (), "failed to match identity" )
82- assert .ErrorIs (t , err , expectedErr )
82+ require .ErrorIs (t , err , expectedErr )
8383 assert .Equal (t , 1 , matcher .MatchCallCount ())
8484 })
8585}
@@ -577,7 +577,7 @@ func TestTypedVerifierDeserializerMultiplex(t *testing.T) {
577577
578578 require .Error (t , err )
579579 assert .Contains (t , err .Error (), "failed to match identity to audit infor" )
580- assert .ErrorIs (t , err , expectedErr )
580+ require .ErrorIs (t , err , expectedErr )
581581 assert .Equal (t , 1 , mockDeserializer .GetAuditInfoMatcherCallCount ())
582582 assert .Equal (t , 1 , mockMatcher .MatchCallCount ())
583583 })
@@ -851,7 +851,7 @@ func TestTypedIdentityVerifierDeserializer(t *testing.T) {
851851
852852 require .Error (t , err )
853853 assert .Contains (t , err .Error (), "failed getting audit info for recipient identity" )
854- assert .ErrorIs (t , err , expectedErr )
854+ require .ErrorIs (t , err , expectedErr )
855855 assert .Equal (t , 1 , provider .GetAuditInfoCallCount ())
856856 })
857857
0 commit comments