Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
fix: zsh completion test for cobra v1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousCorrelation committed Jul 3, 2022
1 parent 990fcc4 commit b2ca076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/completion/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func Test_ExecuteCommand(t *testing.T) {
cmd.Execute()

got := out.(*bytes.Buffer).Bytes()
expected := []byte(`#compdef _completion completion`)
expected := []byte(`#compdef completion`)

assert.Equal(t, string(expected), string(got)[:len(expected)])
})
Expand Down

0 comments on commit b2ca076

Please sign in to comment.