From 6f74c0774cf4fd906292bf0a733cb596f0849780 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Mon, 11 Jul 2016 11:18:17 -0700 Subject: runtime: move printing of extra newline No functional changes, makes vet happy. Updates #11041 Change-Id: I59f3aba46d19b86d605508978652d76a1fe7ac7b Reviewed-on: https://go-review.googlesource.com/27125 Run-TryBot: Josh Bleecher Snyder Reviewed-by: Brad Fitzpatrick --- src/runtime/testdata/testprogcgo/threadprof.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/testdata/testprogcgo/threadprof.go b/src/runtime/testdata/testprogcgo/threadprof.go index a77479dfad..516f8dce9e 100644 --- a/src/runtime/testdata/testprogcgo/threadprof.go +++ b/src/runtime/testdata/testprogcgo/threadprof.go @@ -84,8 +84,8 @@ func CgoExternalThreadSignal() { out, err := exec.Command(os.Args[0], "CgoExternalThreadSignal", "crash").CombinedOutput() if err == nil { - fmt.Println("C signal did not crash as expected\n") - fmt.Printf("%s\n", out) + fmt.Println("C signal did not crash as expected") + fmt.Printf("\n%s\n", out) os.Exit(1) } -- cgit v1.2.3-54-g00ecf