(t *testing.T, fs memfs.MemFS, indexFile string)
| 174 | } |
| 175 | |
| 176 | func newDecoderForTest(t *testing.T, fs memfs.MemFS, indexFile string) (*Decoder, error) { |
| 177 | return newDecoder(testFileIO{t, fs}, testDecoderDelegate{t}, indexFile) |
| 178 | } |
| 179 | |
| 180 | func perturbFile(t *testing.T, fs memfs.MemFS, path string) { |
| 181 | data, err := fs.ReadFile(path) |
no test coverage detected