diff options
Diffstat (limited to 'internal/vfs/local/root_test.go')
-rw-r--r-- | internal/vfs/local/root_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/vfs/local/root_test.go b/internal/vfs/local/root_test.go index e7bbb63f..094a48c0 100644 --- a/internal/vfs/local/root_test.go +++ b/internal/vfs/local/root_test.go @@ -123,8 +123,7 @@ func TestReadlinkAbsolutePath(t *testing.T) { // /tmp/dir: directory // /tmp/dir/symlink: points to `/tmp/file` outside of the `/tmp/dir` // /tmp/dir/symlink2: points to `/tmp/dir/file` - tmpDir, cleanup := tmpDir(t) - defer cleanup() + tmpDir := tmpDir(t) dirPath := filepath.Join(tmpDir, "dir") err := os.Mkdir(dirPath, 0755) |