Commit ae14472a authored by Russ Cox's avatar Russ Cox Committed by Brad Fitzpatrick

os: clean up after test

Noted in CL 31358 after submit.

Change-Id: I76ddad9b9e27dd6a03c1c4f49153213747fe0a61
Reviewed-on: https://go-review.googlesource.com/31365
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 9aed16e9
......@@ -836,6 +836,8 @@ func TestRenameToDirFailed(t *testing.T) {
Remove(to)
Mkdir(from, 0777)
Mkdir(to, 0777)
defer Remove(from)
defer Remove(to)
err := Rename(from, to)
switch err := err.(type) {
......
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