diff options
| author | Dmitriy Vyukov <dvyukov@google.com> | 2014-01-21 10:44:08 +0400 |
|---|---|---|
| committer | Dmitriy Vyukov <dvyukov@google.com> | 2014-01-21 10:44:08 +0400 |
| commit | d76a1e593c221e147fd5d51c98f068a60bb8f74a (patch) | |
| tree | d7ca573396678fc7794996f8d15fce15c4d31d0b /src | |
| parent | bfd3c223f944fbf1bd22fa75f96a0cd1a14066af (diff) | |
| download | go-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.go | 2 |
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 { |
