From 4d1820be4394c41a2ff6c84af1d97270fcd235db Mon Sep 17 00:00:00 2001 From: rsteube Date: Wed, 12 Jun 2019 16:34:04 +0200 Subject: [PATCH] go fmt --- zsh_completions_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh_completions_test.go b/zsh_completions_test.go index 9e6cf79a8..16dee45d7 100644 --- a/zsh_completions_test.go +++ b/zsh_completions_test.go @@ -385,7 +385,7 @@ func TestMarkZshCompPositionalArgumentCustom(t *testing.T) { c.ZshCompletionFunction = ` function __custom_function { _values 'test' a b c -}` +}` c.MarkZshCompPositionalArgumentCustom(1, "__custom_function") buf := new(bytes.Buffer) @@ -399,7 +399,7 @@ function __custom_function { if !strings.Contains(output, "'1: :__custom_function'") { t.Error("should contain custom function argument") } - + if !strings.Contains(output, "function __custom_function {") { t.Error("should contain custom function") }