diff options
Diffstat (limited to 'main_test.go')
-rw-r--r-- | main_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main_test.go b/main_test.go index 14b3d1809..723a52267 100644 --- a/main_test.go +++ b/main_test.go @@ -429,6 +429,9 @@ func runTestWithConfig(name string, t *testing.T, options compileopts.Options, c for _, line := range strings.Split(strings.TrimRight(w.String(), "\n"), "\n") { t.Log(line) } + if stdout.Len() != 0 { + t.Logf("output:\n%s", stdout.String()) + } t.Fail() return } |