]> Cypherpunks repositories - gostls13.git/commit
testing: replace all GOOS-specific path separators in TempDir
authorTobias Klauser <tklauser@distanz.ch>
Fri, 24 Apr 2020 10:17:01 +0000 (12:17 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Sat, 25 Apr 2020 10:38:47 +0000 (10:38 +0000)
commit41e925bbcce2f0ca624f74ae4c5574dc76cb4140
tree5b83eaeb50499f019a052c8ba0c02634b4dba07e
parent49f10f37975f0a08ac5ae320d3a29f936b56d0a9
testing: replace all GOOS-specific path separators in TempDir

For GOOS=windows the path separator characters '\' and ':' also need be
replaced.

Updates #38465

Change-Id: If7c8cf93058c87d7df6cda140e82fd76578fe699
Reviewed-on: https://go-review.googlesource.com/c/go/+/229837
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/testing/testing.go
src/testing/testing_test.go