From d53c2e99132d1707be42529e59c5ae446f22a037 Mon Sep 17 00:00:00 2001 From: Yann Hamon Date: Sat, 2 Jan 2021 14:22:45 +0100 Subject: [PATCH] update config test --- pkg/config/config_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/config/config_test.go b/pkg/config/config_test.go index ac1db9c..dc4271c 100644 --- a/pkg/config/config_test.go +++ b/pkg/config/config_test.go @@ -97,10 +97,11 @@ func TestFromFlags(t *testing.T) { }, }, { - []string{"-ignore-missing-schemas", "-kubernetes-version", "1.16.0", "-n", "2", "-output", "json", + []string{"-cache", "cache", "-ignore-missing-schemas", "-kubernetes-version", "1.16.0", "-n", "2", "-output", "json", "-schema-location", "folder", "-schema-location", "anotherfolder", "-skip", "kinda,kindb", "-strict", "-reject", "kindc,kindd", "-summary", "-verbose", "file1", "file2"}, Config{ + Cache: "cache", Files: []string{"file1", "file2"}, IgnoreMissingSchemas: true, KubernetesVersion: "1.16.0",