diff --git a/test/linkx_run.go b/test/linkx_run.go index 440271ac4a..cc249c9cfc 100644 --- a/test/linkx_run.go +++ b/test/linkx_run.go @@ -60,11 +60,11 @@ func test(sep string) { } outstr := string(outx) if !strings.Contains(outstr, "main.b") { - fmt.Printf("-X linker flag did not diagnose overwrite of main.b\n") + fmt.Printf("-X linker flag did not diagnose overwrite of main.b:\n%s\n", outstr) os.Exit(1) } if !strings.Contains(outstr, "main.x") { - fmt.Printf("-X linker flag did not diagnose overwrite of main.x\n") + fmt.Printf("-X linker flag did not diagnose overwrite of main.x:\n%s\n", outstr) os.Exit(1) } }