MCPcopy Create free account
hub / github.com/ReactiveX/RxGo / Test_Observable_IgnoreElements

Function Test_Observable_IgnoreElements

observable_operator_test.go:881–887  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

879}
880
881func Test_Observable_IgnoreElements(t *testing.T) {
882 defer goleak.VerifyNone(t)
883 ctx, cancel := context.WithCancel(context.Background())
884 defer cancel()
885 obs := testObservable(ctx, 1, 2, 3).IgnoreElements()
886 Assert(ctx, t, obs, IsEmpty())
887}
888
889func Test_Observable_IgnoreElements_Error(t *testing.T) {
890 defer goleak.VerifyNone(t)

Callers

nothing calls this directly

Calls 4

testObservableFunction · 0.85
AssertFunction · 0.85
IsEmptyFunction · 0.85
IgnoreElementsMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…