Skip to content

Commit f2fcd97

Browse files
Ygnasonsi
authored andcommittedApr 22, 2024·
Fix test for gomega version bump
1 parent fd622d2 commit f2fcd97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎internal/internal_integration/interrupt_and_timeout_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ var _ = Describe("Interrupts and Timeouts", func() {
924924
Ω(rt).Should(HaveTracked("A"))
925925
Ω(reporter.Did.Find("A")).Should(HaveTimedOut(clLine(-1)))
926926
Ω(reporter.Did.Find("A")).Should(HaveTimedOut(`A spec timeout occurred`))
927-
Ω(reporter.Did.Find("A").Failure.AdditionalFailure).Should(HaveFailed(MatchRegexp("A spec timeout occurred and then the following failure was recorded in the timedout node before it exited:\nContext was cancelled after .*\nExpected\n <string>: foo\nto equal\n <string>: bar"), clLine(1)))
927+
Ω(reporter.Did.Find("A").Failure.AdditionalFailure).Should(HaveFailed(MatchRegexp("A spec timeout occurred and then the following failure was recorded in the timedout node before it exited:\nContext was cancelled \\(cause: spec timeout occurred\\) after .*\nExpected\n <string>: foo\nto equal\n <string>: bar"), clLine(1)))
928928
Ω(reporter.Did.Find("A").Failure.ProgressReport.Message).Should(Equal("{{bold}}This is the Progress Report generated when the spec timeout occurred:{{/}}"))
929929
Ω(reporter.Did.Find("A").Failure.ProgressReport.AdditionalReports).Should(ConsistOf("Expected\n <string>: foo\nto equal\n <string>: bar"))
930930
})

0 commit comments

Comments
 (0)
Please sign in to comment.