test: fix expected error message wording

Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
Jan Larwig
2026-08-18 09:23:29 +02:00
parent 304077498d
commit d707a36a4c
+1 -1
View File
@@ -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{