@@ -180,7 +180,7 @@ var _ = Describe("Asynchronous Assertions", func() {
180
180
Ω (ig .RegisteredHelpers ).Should (ContainElement ("(*AsyncAssertion).match" ))
181
181
})
182
182
183
- It ("renders the matcher's error if an error occured " , func () {
183
+ It ("renders the matcher's error if an error occurred " , func () {
184
184
ig .G .Eventually (ERR_MATCH ).WithTimeout (50 * time .Millisecond ).WithPolling (10 * time .Millisecond ).Should (SpecMatch ())
185
185
Ω (ig .FailureMessage ).Should (ContainSubstring ("Timed out after" ))
186
186
Ω (ig .FailureMessage ).Should (ContainSubstring ("The matcher passed to Eventually returned the following error:" ))
@@ -443,7 +443,7 @@ var _ = Describe("Asynchronous Assertions", func() {
443
443
Ω (ig .RegisteredHelpers ).Should (ContainElement ("(*AsyncAssertion).match" ))
444
444
})
445
445
446
- It ("renders the matcher's error if an error occured " , func () {
446
+ It ("renders the matcher's error if an error occurred " , func () {
447
447
ig .G .Consistently (ERR_MATCH ).Should (SpecMatch ())
448
448
Ω (ig .FailureMessage ).Should (ContainSubstring ("Failed after" ))
449
449
Ω (ig .FailureMessage ).Should (ContainSubstring ("The matcher passed to Consistently returned the following error:" ))
@@ -1575,7 +1575,7 @@ sprocket:
1575
1575
})
1576
1576
1577
1577
When ("the actual error is because there was an assertion failure in the function, and there are return values" , func () {
1578
- It ("emits a clear message about the error having occured " , func () {
1578
+ It ("emits a clear message about the error having occurred " , func () {
1579
1579
_ , file , line , _ := runtime .Caller (0 )
1580
1580
ig .G .Eventually (func (g Gomega ) int {
1581
1581
g .Expect (true ).To (BeFalse ())
0 commit comments