From fa98bb66841b91ba225a65da5016f566942f83f6 Mon Sep 17 00:00:00 2001 From: Peter Sutter Date: Thu, 13 Oct 2022 13:55:21 +0200 Subject: [PATCH] adapt test to change from spf13/cobra#1690 --- pkg/cmd/cmd_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/cmd_test.go b/pkg/cmd/cmd_test.go index 1b6faba5..e4320a8e 100644 --- a/pkg/cmd/cmd_test.go +++ b/pkg/cmd/cmd_test.go @@ -320,7 +320,7 @@ var _ = Describe("Gardenctl command", func() { Expect(cmd.Execute()).To(Succeed()) head := strings.Split(out.String(), "\n")[0] - Expect(head).To(Equal("#compdef _gardenctl gardenctl")) + Expect(head).To(Equal("#compdef gardenctl")) Expect(factory.ConfigFile).To(Equal(configFile)) Expect(factory.GardenHomeDirectory).To(Equal(gardenHomeDir))