(t *testing.T)
| 30 | } |
| 31 | |
| 32 | func Test_SendItems_SliceWithError(t *testing.T) { |
| 33 | defer goleak.VerifyNone(t) |
| 34 | ch := make(chan Item, 3) |
| 35 | go SendItems(context.Background(), ch, CloseChannel, []interface{}{1, errFoo, 3}) |
| 36 | Assert(context.Background(), t, FromChannel(ch), HasItems(1, 3), HasError(errFoo)) |
| 37 | } |
| 38 | |
| 39 | func Test_Item_SendBlocking(t *testing.T) { |
| 40 | defer goleak.VerifyNone(t) |
nothing calls this directly
no test coverage detected
searching dependent graphs…