vendor: update version of github.com/spf13/cobra for zsh support
This commit is contained in:
+2
@@ -117,6 +117,8 @@ func TestBashCompletions(t *testing.T) {
|
||||
// check for filename extension flags
|
||||
check(t, str, `flags_completion+=("_filedir")`)
|
||||
// check for filename extension flags
|
||||
check(t, str, `must_have_one_noun+=("three")`)
|
||||
// check for filename extention flags
|
||||
check(t, str, `flags_completion+=("__handle_filename_extension_flag json|yaml|yml")`)
|
||||
// check for custom flags
|
||||
check(t, str, `flags_completion+=("__complete_custom")`)
|
||||
|
||||
Reference in New Issue
Block a user