From d707a36a4cf24daf9d166e4e0e01283dd08c137e Mon Sep 17 00:00:00 2001 From: Jan Larwig Date: Tue, 18 Aug 2026 09:16:42 +0200 Subject: [PATCH] test: fix expected error message wording Signed-off-by: Jan Larwig --- pkg/apis/options/load_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apis/options/load_test.go b/pkg/apis/options/load_test.go index 40f9a725..367f652a 100644 --- a/pkg/apis/options/load_test.go +++ b/pkg/apis/options/load_test.go @@ -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{