aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2016-07-11 11:18:17 -0700
committerJosh Bleecher Snyder <josharian@gmail.com>2016-08-16 14:37:17 +0000
commit6f74c0774cf4fd906292bf0a733cb596f0849780 (patch)
treeec417d909433438cdc1e13ea7724ab722fe7fb23
parent297d1d736e3e6db6fa390dd54b1e3de9ea8f1fba (diff)
downloadgo-6f74c0774cf4fd906292bf0a733cb596f0849780.tar.gz
go-6f74c0774cf4fd906292bf0a733cb596f0849780.zip
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 <josharian@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r--src/runtime/testdata/testprogcgo/threadprof.go4
1 files 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)
}