aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2014-01-21 10:44:08 +0400
committerDmitriy Vyukov <dvyukov@google.com>2014-01-21 10:44:08 +0400
commitd76a1e593c221e147fd5d51c98f068a60bb8f74a (patch)
treed7ca573396678fc7794996f8d15fce15c4d31d0b /src
parentbfd3c223f944fbf1bd22fa75f96a0cd1a14066af (diff)
downloadgo-d76a1e593c221e147fd5d51c98f068a60bb8f74a.tar.xz
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
Diffstat (limited to 'src')
-rw-r--r--src/pkg/runtime/proc_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/proc_test.go b/src/pkg/runtime/proc_test.go
index d3f1f8bb1c..fb9c76c3a7 100644
--- a/src/pkg/runtime/proc_test.go
+++ b/src/pkg/runtime/proc_test.go
@@ -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 {