MCPcopy Index your code
hub / github.com/ReactiveX/RxGo / HasNoError

Function HasNoError

assert.go:166–170  ·  view source on GitHub ↗

HasNoError checks that the observable has not raised any error.

()

Source from the content-addressed store, hash-verified

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

Calls 1

newAssertionFunction · 0.85

Tested by 15

Test_SendItems_VariadicFunction · 0.68
Test_SendItems_SliceFunction · 0.68
Test_Single_Filter_TrueFunction · 0.68
Test_Single_Filter_FalseFunction · 0.68
Test_Single_MapFunction · 0.68
Test_Observable_All_TrueFunction · 0.68
Test_Observable_DistinctFunction · 0.68