(t *testing.T, buf Buffer, size int64)
| 533 | } |
| 534 | |
| 535 | func isPerfectMatch(t *testing.T, buf Buffer, size int64) { |
| 536 | wrote, read := buildOutputs(t, buf, size) |
| 537 | if !bytes.Equal(wrote, read) { |
| 538 | t.Error("Buffer should have matched") |
| 539 | } |
| 540 | } |
| 541 | |
| 542 | func checkEmpty(t *testing.T, buf Buffer) { |
| 543 | if !Empty(buf) { |
no test coverage detected
searching dependent graphs…