(t *testing.T)
| 16 | } |
| 17 | |
| 18 | func Test_SendItems_VariadicWithError(t *testing.T) { |
| 19 | defer goleak.VerifyNone(t) |
| 20 | ch := make(chan Item, 3) |
| 21 | go SendItems(context.Background(), ch, CloseChannel, 1, errFoo, 3) |
| 22 | Assert(context.Background(), t, FromChannel(ch), HasItems(1, 3), HasError(errFoo)) |
| 23 | } |
| 24 | |
| 25 | func Test_SendItems_Slice(t *testing.T) { |
| 26 | defer goleak.VerifyNone(t) |
nothing calls this directly
no test coverage detected
searching dependent graphs…