mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: fix test on windows
The test prints an excessive \n when /dev/null is not present. R=golang-codereviews, bradfitz, dave CC=golang-codereviews https://golang.org/cl/54890043
This commit is contained in:
parent
bfd3c223f9
commit
d76a1e593c
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ func main() {
|
||||||
if os.IsNotExist(err) {
|
if os.IsNotExist(err) {
|
||||||
// This test tests what it is intended to test only if writes are fast.
|
// This test tests what it is intended to test only if writes are fast.
|
||||||
// If there is no /dev/null, we just don't execute the test.
|
// If there is no /dev/null, we just don't execute the test.
|
||||||
fmt.Println("OK\n")
|
fmt.Println("OK")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue