diff options
author | Valery Piashchynski <[email protected]> | 2021-02-16 00:19:27 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-02-16 00:19:27 +0300 |
commit | 96dfa7287a5b8b9c1b40cc3928efb434b54c1e15 (patch) | |
tree | 1c7a50645d96bf86a07ec9c0c79c685e3bb3c614 /tests/plugins/config | |
parent | c2d7a390a142b5b2d389009340fe0a066c637d9b (diff) |
Add nil cofig flag in config flags test
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/config')
-rwxr-xr-x | tests/plugins/config/config_test.go | 2 |
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) |