Commit c6a7ed7
committed
fix: use WithContext for gomega Eventually/Consistently
- Change gomega.Eventually(ctx, actual, intervals...) to
gomega.Eventually(actual, intervals...).WithContext(ctx)
- Change gomega.Consistently(ctx, actual, intervals...) to
gomega.Consistently(actual, intervals...).WithContext(ctx)
- Fix return type from ConsistentlyAssertion to AsyncAssertion
The previous syntax was not supported by the current gomega API.1 parent f81e1e5 commit c6a7ed7
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
| 108 | + | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
0 commit comments