Skip to content

Commit

Permalink
Update java/akka/smoke_test/akka_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Mikusa <[email protected]>
  • Loading branch information
anthonydahanne and dmikusa committed Sep 22, 2023
1 parent 4ef72ab commit b81674e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion java/akka/smoke_test/akka_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func testAkkaWithBuilder(builder string) func(*testing.T, spec.G, spec.S) {

err = docker.Image.Remove.Execute(image.ID)
if err != nil {
Expect(err.Error()).To(ContainSubstring("failed to remove docker image: exit status 1: Error"))
Expect(err).To(MatchError(ContainSubstring("failed to remove docker image: exit status 1: Error")))
} else {
Expect(err).ToNot(HaveOccurred())
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func testApplicationInsightsWithBuilders(builder string) func(*testing.T, spec.G

err = docker.Image.Remove.Execute(image.ID)
if err != nil {
Expect(err).To(MatchError("failed to remove docker image: exit status 1: Error: No such image:"))
Expect(err).To(MatchError(ContainSubstring("failed to remove docker image: exit status 1: Error")))
} else {
Expect(err).ToNot(HaveOccurred())
}
Expand Down

0 comments on commit b81674e

Please sign in to comment.