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:
parent
392434e1d0
commit
d07e3380b0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user