Skip to content

Commit

Permalink
use t.Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Daisuke Maki committed Jan 20, 2025
1 parent a7b9cbb commit de80085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func TestJoseCompatibility(t *testing.T) {

// latchset/jose uses a larger p2c count than we allow
jwe.Settings(jwe.WithMaxPBES2Count(32768))
defer jwe.Settings(jwe.WithMaxPBES2Count(10000))
t.Cleanup(func() { jwe.Settings(jwe.WithMaxPBES2Count(10000)) })

t.Run("jwk", func(t *testing.T) {
t.Parallel()
Expand Down

0 comments on commit de80085

Please sign in to comment.