Fix test for unsupported shell type

This commit is contained in:
Mislav Marohnić 2020-01-29 12:27:02 +01:00
parent 4e579e544c
commit 09f3d176ff

View file

@ -42,7 +42,7 @@ When installing with Homebrew, see https://docs.brew.sh/Shell-Completion
case "fish":
genFishCompletion(RootCmd, cmd.OutOrStdout())
default:
return fmt.Errorf("unsupported shell type %s", shellType)
return fmt.Errorf("unsupported shell type %q", shellType)
}
return nil
},