github.com/lestrrat-go/jwx/v2@v2.0.21/jws/options_gen_test.go (about) 1 // Code generated by tools/cmd/genoptions/main.go. DO NOT EDIT. 2 3 package jws 4 5 import ( 6 "testing" 7 8 "github.com/stretchr/testify/require" 9 ) 10 11 func TestOptionIdent(t *testing.T) { 12 require.Equal(t, "WithContext", identContext{}.String()) 13 require.Equal(t, "WithDetached", identDetached{}.String()) 14 require.Equal(t, "WithDetachedPayload", identDetachedPayload{}.String()) 15 require.Equal(t, "WithFS", identFS{}.String()) 16 require.Equal(t, "WithInferAlgorithmFromKey", identInferAlgorithmFromKey{}.String()) 17 require.Equal(t, "WithKey", identKey{}.String()) 18 require.Equal(t, "WithKeyProvider", identKeyProvider{}.String()) 19 require.Equal(t, "WithKeyUsed", identKeyUsed{}.String()) 20 require.Equal(t, "WithMessage", identMessage{}.String()) 21 require.Equal(t, "WithMultipleKeysPerKeyID", identMultipleKeysPerKeyID{}.String()) 22 require.Equal(t, "WithPretty", identPretty{}.String()) 23 require.Equal(t, "WithProtectedHeaders", identProtectedHeaders{}.String()) 24 require.Equal(t, "WithPublicHeaders", identPublicHeaders{}.String()) 25 require.Equal(t, "WithRequireKid", identRequireKid{}.String()) 26 require.Equal(t, "WithSerialization", identSerialization{}.String()) 27 require.Equal(t, "WithUseDefault", identUseDefault{}.String()) 28 require.Equal(t, "WithValidateKey", identValidateKey{}.String()) 29 }