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

     1  // Code generated by tools/cmd/genoptions/main.go. DO NOT EDIT.
     2  
     3  package jwk
     4  
     5  import (
     6  	"testing"
     7  
     8  	"github.com/stretchr/testify/require"
     9  )
    10  
    11  func TestOptionIdent(t *testing.T) {
    12  	require.Equal(t, "WithErrSink", identErrSink{}.String())
    13  	require.Equal(t, "WithFS", identFS{}.String())
    14  	require.Equal(t, "WithFetchWhitelist", identFetchWhitelist{}.String())
    15  	require.Equal(t, "WithHTTPClient", identHTTPClient{}.String())
    16  	require.Equal(t, "WithIgnoreParseError", identIgnoreParseError{}.String())
    17  	require.Equal(t, "withLocalRegistry", identLocalRegistry{}.String())
    18  	require.Equal(t, "WithMinRefreshInterval", identMinRefreshInterval{}.String())
    19  	require.Equal(t, "WithPEM", identPEM{}.String())
    20  	require.Equal(t, "WithPostFetcher", identPostFetcher{}.String())
    21  	require.Equal(t, "WithRefreshInterval", identRefreshInterval{}.String())
    22  	require.Equal(t, "WithRefreshWindow", identRefreshWindow{}.String())
    23  	require.Equal(t, "WithThumbprintHash", identThumbprintHash{}.String())
    24  }