(t *testing.T)
| 447 | } |
| 448 | |
| 449 | func TestReaderErrors(t *testing.T) { |
| 450 | r := test.NewErrorReader(0) |
| 451 | w := &bytes.Buffer{} |
| 452 | m := minify.New() |
| 453 | err := Minify(m, w, r, nil) |
| 454 | test.T(t, err, test.ErrPlain, "return error at first read") |
| 455 | } |
| 456 | |
| 457 | func TestWriterErrors(t *testing.T) { |
| 458 | errorTests := []struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…