Skip to content

Commit

Permalink
adapt test to change from spf13/cobra#1690
Browse files Browse the repository at this point in the history
  • Loading branch information
petersutter committed Oct 13, 2022
1 parent 834e74b commit fa98bb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/cmd_test.go
Expand Up @@ -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))

Expand Down

0 comments on commit fa98bb6

Please sign in to comment.