Commit d76a1e59 authored by Dmitriy Vyukov's avatar Dmitriy Vyukov

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
parent bfd3c223
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment