1
0
mirror of https://github.com/golang/go synced 2024-11-18 15:04:44 -07:00

os: do not leave /go_os_test/dir after test

Change-Id: Idb8e211bf33d2713735f9cdc868a3458ce799c97
Reviewed-on: https://go-review.googlesource.com/6913
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Alex Brainman 2015-03-06 10:34:59 +11:00
parent 392434e1d0
commit d07e3380b0

View File

@ -213,7 +213,7 @@ func TestMkdirAllAtSlash(t *testing.T) {
}
}
RemoveAll("/_go_os_test")
const dir = "/go_os_test/dir"
const dir = "/_go_os_test/dir"
err := MkdirAll(dir, 0777)
if err != nil {
pathErr, ok := err.(*PathError)