Skip to content

Commit

Permalink
chore: fix spelling errors (#19241)
Browse files Browse the repository at this point in the history
Co-authored-by: github-merge-queue <[email protected]>
  • Loading branch information
github-prbot and github-merge-queue authored Jan 26, 2024
1 parent 495e185 commit b947b02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/testutil/cmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit b947b02

Please sign in to comment.