diff --git a/zsh_completions_test.go b/zsh_completions_test.go index c5199ed3..c4e1a95f 100644 --- a/zsh_completions_test.go +++ b/zsh_completions_test.go @@ -15,7 +15,6 @@ func TestGenZshCompletion(t *testing.T) { name string root *Command expectedExpressions []string - skip string }{ { name: "simple command", @@ -112,18 +111,6 @@ func TestGenZshCompletion(t *testing.T) { `'\(\*-d \*--debug\)'{\\\*-d,\\\*--debug}`, }, }, - { - name: "boolSlice should not accept arguments", - root: func() *Command { - r := genTestCommand("mycmd", true) - r.Flags().BoolSlice("verbose", []bool{}, "verbosity level") - return r - }(), - expectedExpressions: []string{ - `'\*--verbose\[verbosity level]'`, - }, - skip: "BoolSlice behaves strangely both with NoOptDefVal and type (identifies as bool)", - }, } for _, tc := range tcs { @@ -135,10 +122,6 @@ func TestGenZshCompletion(t *testing.T) { } output := buf.Bytes() - if tc.skip != "" { - t.Skip("Skipping:", tc.skip) - } - for _, expr := range tc.expectedExpressions { rgx, err := regexp.Compile(expr) if err != nil {