Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Jul 11, 2019
1 parent 4c5491d commit 4d1820b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zsh_completions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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")
}
Expand Down

0 comments on commit 4d1820b

Please sign in to comment.