IsEmpty checks that the observable has not produce any item.
()
| 134 | |
| 135 | // IsEmpty checks that the observable has not produce any item. |
| 136 | func IsEmpty() RxAssert { |
| 137 | return newAssertion(func(a *rxAssert) { |
| 138 | a.checkHasNoItems = true |
| 139 | }) |
| 140 | } |
| 141 | |
| 142 | // HasError checks that the observable has produce a specific error. |
| 143 | func HasError(err error) RxAssert { |
searching dependent graphs…