aboutsummaryrefslogtreecommitdiff
path: root/tests/reverse/correctness_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reverse/correctness_test.go')
-rw-r--r--tests/reverse/correctness_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/reverse/correctness_test.go b/tests/reverse/correctness_test.go
index 214c747..34b32ea 100644
--- a/tests/reverse/correctness_test.go
+++ b/tests/reverse/correctness_test.go
@@ -153,6 +153,7 @@ func TestAccess(t *testing.T) {
if err != nil {
t.Fatal(err)
}
+ defer f.Close()
names, err := f.Readdirnames(0)
if err != nil {
t.Fatal(err)