chore: fix spelling errors (#19241)

Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
This commit is contained in:
Cosmos SDK
2024-01-26 15:00:43 +00:00
committed by GitHub
co-authored by github-merge-queue
parent 495e185e2d
commit b947b02dc6
+3 -3
View File
@@ -83,9 +83,9 @@ func TestSetArgsWithWrappedMethod(t *testing.T) {
},
}
f := cmd.Flags()
f.BoolP("a", "a", false, "check build-in pflag.Value")
f.IntSlice("b", []int{1, 2}, "check build-in pflag.SliceValue with default value")
f.IntSliceP("c", "c", nil, "check build-in pflag.SliceValue with nil default value")
f.BoolP("a", "a", false, "check built-in pflag.Value")
f.IntSlice("b", []int{1, 2}, "check built-in pflag.SliceValue with default value")
f.IntSliceP("c", "c", nil, "check built-in pflag.SliceValue with nil default value")
f.Var(&mockFlagWithCommaF, "d", "check custom implementation of pflag.SliceValue with splitting by comma and default value")
f.VarP(&mockFlagWithCommaG, "e", "e", "check custom implementation of pflag.SliceValue with splitting by comma and nil default value")
f.Var(&mockFlagWithSemicolonH, "f", "check custom implementation of pflag.SliceValue with splitting by semicolon and default value")