File: options_gen_test.go

package info (click to toggle)
golang-github-lestrrat-go-jwx 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,872 kB
  • sloc: sh: 222; makefile: 86; perl: 62
file content (24 lines) | stat: -rw-r--r-- 980 bytes parent folder | download
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())
}