(path string)
| 84 | } |
| 85 | |
| 86 | func (io testFileIO) ReadFile(path string) (data []byte, err error) { |
| 87 | io.t.Helper() |
| 88 | defer func() { |
| 89 | io.t.Helper() |
| 90 | io.t.Logf("ReadFile(%s) => (%d bytes, %v)", path, len(data), err) |
| 91 | }() |
| 92 | return io.fileIO.ReadFile(path) |
| 93 | } |
| 94 | |
| 95 | func (io testFileIO) FindWithPrefixAndSuffix(prefix, suffix string) (matches []string, err error) { |
| 96 | io.t.Helper() |