feat: Remove duplicate code in test (#119)

zerocopy-examples
Jakob Waibel 1 year ago committed by GitHub
parent ffd6c474e8
commit 1b9b09fd17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      samples/memfs/memfs_test.go

@ -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.
//

Loading…
Cancel
Save