mirror of
https://github.com/spf13/viper
synced 2025-05-11 06:37:27 +00:00
add a few more cases
This commit is contained in:
parent
61c17d0781
commit
21e376d12e
1 changed files with 2 additions and 0 deletions
|
@ -978,6 +978,8 @@ func TestBindPFlagStringToString(t *testing.T) {
|
|||
{nil, ""},
|
||||
{map[string]string{"yo": "hi"}, "yo=hi"},
|
||||
{map[string]string{"yo": "hi", "oh": "hi=there"}, "yo=hi,oh=hi=there"},
|
||||
{map[string]string{"yo": ""}, "yo="},
|
||||
{map[string]string{"yo": "", "oh": "hi=there"}, "yo=,oh=hi=there"},
|
||||
}
|
||||
|
||||
v := New() // create independent Viper object
|
||||
|
|
Loading…
Add table
Reference in a new issue