From 09f3d176ffaa0b11a58a06b32382903562c23d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Wed, 29 Jan 2020 12:27:02 +0100 Subject: [PATCH] Fix test for unsupported shell type --- command/completion.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/completion.go b/command/completion.go index ae6bb02fa..4bae60314 100644 --- a/command/completion.go +++ b/command/completion.go @@ -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 },