mirror of
https://github.com/spf13/cobra.git
synced 2024-12-19 10:05:07 -07:00
fix fish reference
This commit is contained in:
parent
93a41331ec
commit
e0ac28fad8
@ -79,7 +79,7 @@ func TestFailGenNushellCompletionFile(t *testing.T) {
|
||||
}
|
||||
rootCmd.AddCommand(child)
|
||||
|
||||
got := rootCmd.GenFishCompletionFile(f.Name(), false)
|
||||
got := rootCmd.GenNushellCompletionFile(f.Name(), false)
|
||||
if !errors.Is(got, os.ErrPermission) {
|
||||
t.Errorf("got: %s, want: %s", got.Error(), os.ErrPermission.Error())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user