1
0
mirror of https://github.com/golang/go synced 2024-11-12 09:20:22 -07: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:
Dmitriy Vyukov 2014-01-21 10:44:08 +04:00
parent bfd3c223f9
commit d76a1e593c

View File

@ -268,7 +268,7 @@ func main() {
if os.IsNotExist(err) {
// 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.
fmt.Println("OK\n")
fmt.Println("OK")
return
}
if err != nil {