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