HasNoError checks that the observable has not raised any error.
()
| 164 | |
| 165 | // HasNoError checks that the observable has not raised any error. |
| 166 | func HasNoError() RxAssert { |
| 167 | return newAssertion(func(a *rxAssert) { |
| 168 | a.checkHasRaisedError = true |
| 169 | }) |
| 170 | } |
| 171 | |
| 172 | // CustomPredicate checks a custom predicate. |
| 173 | func CustomPredicate(predicate AssertPredicate) RxAssert { |