mirror of https://github.com/spf13/cobra.git
correct spelling mistake (#524)
This commit is contained in:
parent
2df9a53181
commit
3c0b56b677
|
@ -118,7 +118,7 @@ func TestBashCompletions(t *testing.T) {
|
||||||
check(t, str, `flags_completion+=("_filedir")`)
|
check(t, str, `flags_completion+=("_filedir")`)
|
||||||
// check for filename extension flags
|
// check for filename extension flags
|
||||||
check(t, str, `must_have_one_noun+=("three")`)
|
check(t, str, `must_have_one_noun+=("three")`)
|
||||||
// check for filename extention flags
|
// check for filename extension flags
|
||||||
check(t, str, `flags_completion+=("__handle_filename_extension_flag json|yaml|yml")`)
|
check(t, str, `flags_completion+=("__handle_filename_extension_flag json|yaml|yml")`)
|
||||||
// check for custom flags
|
// check for custom flags
|
||||||
check(t, str, `flags_completion+=("__complete_custom")`)
|
check(t, str, `flags_completion+=("__complete_custom")`)
|
||||||
|
|
Loading…
Reference in New Issue