(t *testing.T, streams chan io.ReadCloser, errs chan error, expected []verifyGetBlobAtData)
| 120 | } |
| 121 | |
| 122 | func verifyGetBlobAtOutput(t *testing.T, streams chan io.ReadCloser, errs chan error, expected []verifyGetBlobAtData) { |
| 123 | for _, c := range expected { |
| 124 | data, err := readNextStream(streams, errs) |
| 125 | assert.Equal(t, c.expectedData, data) |
| 126 | assert.Equal(t, c.expectedError, err) |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | func TestSplitHTTP200ResponseToPartial(t *testing.T) { |
| 131 | body := io.NopCloser(bytes.NewReader([]byte("123456789"))) |
no test coverage detected
searching dependent graphs…