Skip to content

Commit

Permalink
chore(*) fix config cp kumactl remove tests
Browse files Browse the repository at this point in the history
Signed-off-by: Bart Smykla <bartek@smykla.com>
  • Loading branch information
bartsmykla committed Jul 27, 2021
1 parent 5afead1 commit 7f0cb83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/kumactl/cmd/config/config_control_planes_remove_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var _ = Describe("kumactl config control-planes remove", func() {
// then
Expect(err.Error()).To(MatchRegexp(requiredFlagNotSet("name")))
// and
Expect(outbuf.String()).To(Equal(`Error: required flag(s) "name" not set
Expect(outbuf.String()).To(ContainSubstring(`Error: required flag(s) "name" not set
`))
})

Expand All @@ -73,7 +73,7 @@ var _ = Describe("kumactl config control-planes remove", func() {
// then
Expect(err).To(MatchError(`there is no Control Plane with name "example"`))
// and
Expect(outbuf.String()).To(Equal(`Error: there is no Control Plane with name "example"
Expect(outbuf.String()).To(ContainSubstring(`Error: there is no Control Plane with name "example"
`))
})
})
Expand Down

0 comments on commit 7f0cb83

Please sign in to comment.