(t *testing.T)
| 256 | } |
| 257 | |
| 258 | func Test_Observable_BufferWithCount_Error(t *testing.T) { |
| 259 | defer goleak.VerifyNone(t) |
| 260 | ctx, cancel := context.WithCancel(context.Background()) |
| 261 | defer cancel() |
| 262 | obs := testObservable(ctx, 1, 2, 3, 4, errFoo).BufferWithCount(3) |
| 263 | Assert(ctx, t, obs, HasItems([]interface{}{1, 2, 3}, []interface{}{4}), HasError(errFoo)) |
| 264 | } |
| 265 | |
| 266 | func Test_Observable_BufferWithCount_InputError(t *testing.T) { |
| 267 | defer goleak.VerifyNone(t) |
nothing calls this directly
no test coverage detected
searching dependent graphs…