Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit b373c4f

Browse files
committed
Print integration test output on a newline
This makes is easier to quickly scan the test output, without messing up the section header indents
1 parent e35e1a7 commit b373c4f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

internal/test/integration_testproj.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,10 @@ func (p *IntegrationTestProject) DoRun(args []string) error {
174174

175175
if *PrintLogs {
176176
if p.stdout.Len() > 0 {
177-
p.t.Log("standard output:")
178-
p.t.Log(p.stdout.String())
177+
p.t.Logf("\nstandard output:%s", p.stdout.String())
179178
}
180179
if p.stderr.Len() > 0 {
181-
p.t.Log("standard error:")
182-
p.t.Log(p.stderr.String())
180+
p.t.Logf("standard error:\n%s", p.stderr.String())
183181
}
184182
}
185183
return status

0 commit comments

Comments
 (0)