Bruno Reis
24ef172f2b
Fixes #352 .
...
Add tests:
- ``*mem.File` implementation of `io.ReaderAt` must return non-nil error when reading less than length of give slice.
- `MemMapFs` must pass `fstest.TestFS` tests for non-empty files.
Fixes the bug.
2022-05-10 13:19:00 -07:00
tdakkota
7b47fea3fc
fix(mem): do not overwrite old data in some cases ( fixes #286 )
2021-02-12 13:02:47 +03:00
Yerden Zhumabekov
9e9dd69b09
mem: add test for Write/Seek
...
Signed-off-by: Yerden Zhumabekov <yerden.zhumabekov@gmail.com>
2020-09-02 11:39:23 +06:00
Brian Tiger Chow
709edc9d8f
add ReadAt/Seek test
2018-11-20 13:29:30 -05:00
Martin Bertschler
473997e418
add test that shows a bug with FileMode not being set for MemMapFs directories, clean up tests
2017-10-03 23:17:35 +02:00
Corentin Debains
d29940f63d
mem/file.go - Fix some races in accessing fields of FileData
...
* Splitting SetModeTime to avoid double locking
* Adding locks all over the place.
2017-09-30 22:59:59 -07:00