github.com/lestrrat-go/jwx/v2@v2.0.21/jwt/options_gen_test.go (about)

     1  // Code generated by tools/cmd/genoptions/main.go. DO NOT EDIT.
     2  
     3  package jwt
     4  
     5  import (
     6  	"testing"
     7  
     8  	"github.com/stretchr/testify/require"
     9  )
    10  
    11  func TestOptionIdent(t *testing.T) {
    12  	require.Equal(t, "WithAcceptableSkew", identAcceptableSkew{}.String())
    13  	require.Equal(t, "WithClock", identClock{}.String())
    14  	require.Equal(t, "WithCompactOnly", identCompactOnly{}.String())
    15  	require.Equal(t, "WithContext", identContext{}.String())
    16  	require.Equal(t, "WithEncryptOption", identEncryptOption{}.String())
    17  	require.Equal(t, "WithFS", identFS{}.String())
    18  	require.Equal(t, "WithFlattenAudience", identFlattenAudience{}.String())
    19  	require.Equal(t, "WithFormKey", identFormKey{}.String())
    20  	require.Equal(t, "WithHeaderKey", identHeaderKey{}.String())
    21  	require.Equal(t, "WithKeyProvider", identKeyProvider{}.String())
    22  	require.Equal(t, "WithNumericDateFormatPrecision", identNumericDateFormatPrecision{}.String())
    23  	require.Equal(t, "WithNumericDateParsePedantic", identNumericDateParsePedantic{}.String())
    24  	require.Equal(t, "WithNumericDateParsePrecision", identNumericDateParsePrecision{}.String())
    25  	require.Equal(t, "WithPedantic", identPedantic{}.String())
    26  	require.Equal(t, "WithSignOption", identSignOption{}.String())
    27  	require.Equal(t, "WithToken", identToken{}.String())
    28  	require.Equal(t, "WithTruncation", identTruncation{}.String())
    29  	require.Equal(t, "WithValidate", identValidate{}.String())
    30  	require.Equal(t, "WithValidator", identValidator{}.String())
    31  	require.Equal(t, "WithVerify", identVerify{}.String())
    32  }