Commit 8cb5bb39 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Close file in TestWriteThrough()

parent b339ce28
......@@ -223,6 +223,7 @@ func TestWriteThrough(t *testing.T) {
f, err = os.Open(me.origFile)
CheckSuccess(err)
defer f.Close()
var buf [1024]byte
slice := buf[:]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment