feat: Remove duplicate code in test (#119)
parent
ffd6c474e8
commit
1b9b09fd17
|
@ -855,10 +855,6 @@ func (t *MemFSTest) AppendMode() {
|
||||||
AssertEq(nil, err)
|
AssertEq(nil, err)
|
||||||
ExpectEq(13, off)
|
ExpectEq(13, off)
|
||||||
|
|
||||||
off, err = getFileOffset(f)
|
|
||||||
AssertEq(nil, err)
|
|
||||||
ExpectEq(13, off)
|
|
||||||
|
|
||||||
// Read back the contents of the file, which should be correct even though we
|
// Read back the contents of the file, which should be correct even though we
|
||||||
// seeked to a silly place before writing the world part.
|
// seeked to a silly place before writing the world part.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue