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

Function Test_Observable_BufferWithCount_InputError

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

Source from the content-addressed store, hash-verified

264}
265
266func Test_Observable_BufferWithCount_InputError(t *testing.T) {
267 defer goleak.VerifyNone(t)
268 ctx, cancel := context.WithCancel(context.Background())
269 defer cancel()
270 obs := testObservable(ctx, 1, 2, 3, 4).BufferWithCount(0)
271 Assert(ctx, t, obs, HasAnError())
272}
273
274func Test_Observable_BufferWithTime_Single(t *testing.T) {
275 defer goleak.VerifyNone(t)

Callers

nothing calls this directly

Calls 4

testObservableFunction · 0.85
AssertFunction · 0.85
HasAnErrorFunction · 0.85
BufferWithCountMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…