mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
correct spelling mistake (#524)
This commit is contained in:
parent
2df9a53181
commit
3c0b56b677
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue