From 1b9b09fd17a4bbee89a506fdccefbd9d1d414a0c Mon Sep 17 00:00:00 2001 From: Jakob Waibel <59575534+JakWai01@users.noreply.github.com> Date: Sun, 9 Jan 2022 15:54:07 +0100 Subject: [PATCH] feat: Remove duplicate code in test (#119) --- samples/memfs/memfs_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/samples/memfs/memfs_test.go b/samples/memfs/memfs_test.go index 68f7432..aa1dc47 100644 --- a/samples/memfs/memfs_test.go +++ b/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. //