feat: Remove duplicate code in test (#119)

zerocopy-examples
Jakob Waibel 2022-01-09 15:54:07 +01:00 committed by GitHub
parent ffd6c474e8
commit 1b9b09fd17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -855,10 +855,6 @@ func (t *MemFSTest) AppendMode() {
AssertEq(nil, err)
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
// seeked to a silly place before writing the world part.
//