(path string, data []byte)
| 29 | } |
| 30 | |
| 31 | func (io testFileIO) WriteFile(path string, data []byte) (err error) { |
| 32 | io.t.Helper() |
| 33 | defer func() { |
| 34 | io.t.Helper() |
| 35 | io.t.Logf("WriteFile(%s, %d bytes) => %v", path, len(data), err) |
| 36 | }() |
| 37 | return io.fileIO.WriteFile(path, data) |
| 38 | } |
| 39 | |
| 40 | type testDecoderDelegate struct { |
| 41 | t *testing.T |