summaryrefslogtreecommitdiff
path: root/tests/plugins/config
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-02-16 00:19:27 +0300
committerValery Piashchynski <[email protected]>2021-02-16 00:19:27 +0300
commit96dfa7287a5b8b9c1b40cc3928efb434b54c1e15 (patch)
tree1c7a50645d96bf86a07ec9c0c79c685e3bb3c614 /tests/plugins/config
parentc2d7a390a142b5b2d389009340fe0a066c637d9b (diff)
Add nil cofig flag in config flags test
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/config')
-rwxr-xr-xtests/plugins/config/config_test.go2
1 files changed, 2 insertions, 0 deletions
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)