(t *testing.T)
| 14 | ) |
| 15 | |
| 16 | func Test_Connectable_IterableChannel_Single(t *testing.T) { |
| 17 | defer goleak.VerifyNone(t) |
| 18 | ch := make(chan Item, 10) |
| 19 | go func() { |
| 20 | ch <- Of(1) |
| 21 | ch <- Of(2) |
| 22 | ch <- Of(3) |
| 23 | close(ch) |
| 24 | }() |
| 25 | obs := &ObservableImpl{ |
| 26 | iterable: newChannelIterable(ch, WithPublishStrategy()), |
| 27 | } |
| 28 | testConnectableSingle(t, obs) |
| 29 | } |
| 30 | |
| 31 | func Test_Connectable_IterableChannel_Composed(t *testing.T) { |
| 32 | defer goleak.VerifyNone(t) |
nothing calls this directly
no test coverage detected
searching dependent graphs…