diff --git a/cmd/completion/main_test.go b/cmd/completion/main_test.go index 3dabd05856..cde139fcfa 100644 --- a/cmd/completion/main_test.go +++ b/cmd/completion/main_test.go @@ -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)]) })