From cc0a603ef8a691b01fbd0f6a99e7d4e1d36608f7 Mon Sep 17 00:00:00 2001 From: leilaes Date: Wed, 10 Apr 2019 19:43:34 +1200 Subject: Add CodeLingo Tenet to fix missing close file --- tests/fsck/fsck_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/fsck') diff --git a/tests/fsck/fsck_test.go b/tests/fsck/fsck_test.go index 5ece6cd..f56e21c 100644 --- a/tests/fsck/fsck_test.go +++ b/tests/fsck/fsck_test.go @@ -85,6 +85,7 @@ func TestExampleFses(t *testing.T) { t.Errorf("fsck returned code %d but fs should be clean", code) } } + dirfd.Close() } // TestTerabyteFile verifies that fsck does something intelligent when it hits -- cgit v1.2.3