(t *testing.T)
| 29 | } |
| 30 | |
| 31 | func Test_Connectable_IterableChannel_Composed(t *testing.T) { |
| 32 | defer goleak.VerifyNone(t) |
| 33 | ch := make(chan Item, 10) |
| 34 | go func() { |
| 35 | ch <- Of(1) |
| 36 | ch <- Of(2) |
| 37 | ch <- Of(3) |
| 38 | close(ch) |
| 39 | }() |
| 40 | obs := &ObservableImpl{ |
| 41 | iterable: newChannelIterable(ch, WithPublishStrategy()), |
| 42 | } |
| 43 | testConnectableComposed(t, obs) |
| 44 | } |
| 45 | |
| 46 | func Test_Connectable_IterableChannel_Disposed(t *testing.T) { |
| 47 | defer goleak.VerifyNone(t) |
nothing calls this directly
no test coverage detected
searching dependent graphs…