fix fish reference

This commit is contained in:
Jack Wright 2024-12-08 19:33:48 -08:00
parent 93a41331ec
commit e0ac28fad8

View file

@ -79,7 +79,7 @@ func TestFailGenNushellCompletionFile(t *testing.T) {
} }
rootCmd.AddCommand(child) rootCmd.AddCommand(child)
got := rootCmd.GenFishCompletionFile(f.Name(), false) got := rootCmd.GenNushellCompletionFile(f.Name(), false)
if !errors.Is(got, os.ErrPermission) { if !errors.Is(got, os.ErrPermission) {
t.Errorf("got: %s, want: %s", got.Error(), os.ErrPermission.Error()) t.Errorf("got: %s, want: %s", got.Error(), os.ErrPermission.Error())
} }