Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
surik committed Aug 17, 2023
1 parent 88b0bed commit aa7bd9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/events_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ import (
// The actual test suite
var _ = t.Describe("events", func() {
It("should fail with not supported output format", func() {
t.CrictlExpectFailure("events --output=ini", "", "don't support \"ini\" format")
t.CrictlExpectFailure("events --output=ini", "", "don't support .* format")
})

It("should fail with template set for non go-template format", func() {
t.CrictlExpectFailure("events --template=\"{{ .containerID }}\"", "", "template can't be used with \"json\" format")
t.CrictlExpectFailure("events --template=\"{{ .containerID }}\"", "", "template can't be used with .* format")
})

It("should succeed", func() {
Expand Down

0 comments on commit aa7bd9a

Please sign in to comment.