(t *testing.T)
| 2275 | } |
| 2276 | |
| 2277 | func Test_Observable_WindowWithCount_ZeroCount(t *testing.T) { |
| 2278 | defer goleak.VerifyNone(t) |
| 2279 | ctx, cancel := context.WithCancel(context.Background()) |
| 2280 | defer cancel() |
| 2281 | observe := testObservable(ctx, 1, 2, 3, 4, 5).WindowWithCount(0).Observe() |
| 2282 | Assert(ctx, t, (<-observe).V.(Observable), HasItems(1, 2, 3, 4, 5)) |
| 2283 | } |
| 2284 | |
| 2285 | func Test_Observable_WindowWithCount_ObservableError(t *testing.T) { |
| 2286 | defer goleak.VerifyNone(t) |
nothing calls this directly
no test coverage detected
searching dependent graphs…