git.iko.soy/typeable/oauth2-proxy
on master help sign in
test: fix expected error message wording

Signed-off-by: Jan Larwig <jan@larwig.com>

commitd707a36a4cf24daf9d166e4e0e01283dd08c137e authorJan Larwig <jan@larwig.com> dateTue 18 Aug 2026, 09:16 (1 month ago) parent3040774
1 file changed+1−1
pkg/apis/options/load_test.go+1−1
pkg/apis/options/load_test.go+1−1
@@ -282,7 +282,7 @@ var _ = Describe("Load", func() {
282282 Entry("with an invalid config file", &testOptionsTableInput{
283283 configFile: []byte(`slice_option = foo`),
284284 flagSet: func() *pflag.FlagSet { return testOptionsFlagSet },
285− expectedErr: fmt.Errorf("unable to load config file: While parsing config: toml: expected 'false'"),
285+ expectedErr: fmt.Errorf("unable to load config file: While parsing config: toml: expected keyword \"false\""),
286286 expectedOutput: &TestOptions{},
287287 }),
288288 Entry("with an invalid flagset", &testOptionsTableInput{