HasAnError checks that the observable has produce an error.
()
| 149 | |
| 150 | // HasAnError checks that the observable has produce an error. |
| 151 | func HasAnError() RxAssert { |
| 152 | return newAssertion(func(a *rxAssert) { |
| 153 | a.checkHasRaisedAnError = true |
| 154 | }) |
| 155 | } |
| 156 | |
| 157 | // HasErrors checks that the observable has produce a set of errors. |
| 158 | func HasErrors(errs ...error) RxAssert { |
searching dependent graphs…