diff --git a/internal/testutil/cmd_test.go b/internal/testutil/cmd_test.go index d4b79c188334..aa347b5ce87d 100644 --- a/internal/testutil/cmd_test.go +++ b/internal/testutil/cmd_test.go @@ -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")