mirror of
https://github.com/spf13/viper
synced 2025-05-11 14:47:20 +00:00
Fix typo
This commit is contained in:
parent
ade4c8d53d
commit
517456ede8
1 changed files with 1 additions and 1 deletions
|
@ -1094,7 +1094,7 @@ func TestBindPFlagsStringArray(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestSliceFlagsReturnCorretType(t *testing.T) {
|
func TestSliceFlagsReturnCorrectType(t *testing.T) {
|
||||||
flagSet := pflag.NewFlagSet("test", pflag.ContinueOnError)
|
flagSet := pflag.NewFlagSet("test", pflag.ContinueOnError)
|
||||||
flagSet.IntSlice("int", []int{1, 2}, "")
|
flagSet.IntSlice("int", []int{1, 2}, "")
|
||||||
flagSet.StringSlice("str", []string{"3", "4"}, "")
|
flagSet.StringSlice("str", []string{"3", "4"}, "")
|
||||||
|
|
Loading…
Add table
Reference in a new issue