(t *testing.T)
| 992 | } |
| 993 | |
| 994 | func TestReaderError(t *testing.T) { |
| 995 | r := test.NewErrorReader(0) |
| 996 | w := &bytes.Buffer{} |
| 997 | m := minify.New() |
| 998 | err := Minify(m, w, r, nil) |
| 999 | test.T(t, err, test.ErrPlain) |
| 1000 | } |
| 1001 | |
| 1002 | func TestWriterError(t *testing.T) { |
| 1003 | r := bytes.NewBufferString("a") |
nothing calls this directly
no test coverage detected
searching dependent graphs…