mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-09-30 11:41:19 +02:00
test: fix expected error message wording
Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
@@ -282,7 +282,7 @@ var _ = Describe("Load", func() {
|
||||
Entry("with an invalid config file", &testOptionsTableInput{
|
||||
configFile: []byte(`slice_option = foo`),
|
||||
flagSet: func() *pflag.FlagSet { return testOptionsFlagSet },
|
||||
expectedErr: fmt.Errorf("unable to load config file: While parsing config: toml: expected 'false'"),
|
||||
expectedErr: fmt.Errorf("unable to load config file: While parsing config: toml: expected keyword \"false\""),
|
||||
expectedOutput: &TestOptions{},
|
||||
}),
|
||||
Entry("with an invalid flagset", &testOptionsTableInput{
|
||||
|
||||
Reference in New Issue
Block a user