Commit c4227f5b authored by Alex Brainman's avatar Alex Brainman

io/ioutil: close file in TestWriteFile before deleting it

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5495086
parent 35755b9c
......@@ -60,6 +60,7 @@ func TestWriteFile(t *testing.T) {
}
// cleanup
f.Close()
os.Remove(filename) // ignore error
}
......
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