]> Cypherpunks repositories - gostls13.git/commitdiff
os: do not leave /go_os_test/dir after test
authorAlex Brainman <alex.brainman@gmail.com>
Thu, 5 Mar 2015 23:34:59 +0000 (10:34 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Fri, 6 Mar 2015 01:35:02 +0000 (01:35 +0000)
Change-Id: Idb8e211bf33d2713735f9cdc868a3458ce799c97
Reviewed-on: https://go-review.googlesource.com/6913
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/os/path_test.go

index 0aa327fbc613350659ce1aac3c028fc858d00a06..c2258736de1741b60e9fc1435f56ffb551054330 100644 (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)