Remove io.Writer from fs.File

It was only used in a single test, which now uses plain *os.File instead.
This commit is contained in:
greatroar
2020-02-17 00:20:38 +01:00
parent 9abef3bf1a
commit 1b20f6beec
4 changed files with 32 additions and 41 deletions

View File

@@ -252,10 +252,6 @@ func (f fakeFile) Seek(int64, int) (int64, error) {
return 0, os.ErrInvalid
}
func (f fakeFile) Write(p []byte) (int, error) {
return 0, os.ErrInvalid
}
func (f fakeFile) Read(p []byte) (int, error) {
return 0, os.ErrInvalid
}