diff options
Diffstat (limited to 'tests/matrix')
-rw-r--r-- | tests/matrix/matrix_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/matrix/matrix_test.go b/tests/matrix/matrix_test.go index d0ad0d5..d52c3f8 100644 --- a/tests/matrix/matrix_test.go +++ b/tests/matrix/matrix_test.go @@ -405,10 +405,12 @@ func TestRmwRace(t *testing.T) { if err != nil { t.Fatalf("file create failed") } + defer f1.Close() f2, err := os.Create(fn) if err != nil { t.Fatalf("file create failed") } + defer f2.Close() oldBlock := bytes.Repeat([]byte("o"), 4096) |