From 96dfa7287a5b8b9c1b40cc3928efb434b54c1e15 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Tue, 16 Feb 2021 00:19:27 +0300 Subject: Add nil cofig flag in config flags test Signed-off-by: Valery Piashchynski --- tests/plugins/config/config_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/plugins/config/config_test.go b/tests/plugins/config/config_test.go index 609b62ef..dc387086 100755 --- a/tests/plugins/config/config_test.go +++ b/tests/plugins/config/config_test.go @@ -21,6 +21,8 @@ func TestViperProvider_Init(t *testing.T) { vp := &config.Viper{} vp.Path = ".rr.yaml" vp.Prefix = "rr" + vp.Flags = nil + err = container.Register(vp) if err != nil { t.Fatal(err) -- cgit v1.2.3