Skip to content

Commit

Permalink
Add an extra new line after reporting spec run completion
Browse files Browse the repository at this point in the history
Otherwise, `cmd/test2json` is not able to parse Test Passed event that is added by `cmd/test` just after spec completion

Fixes #447
  • Loading branch information
zolotov authored and Andrea Nodari committed Apr 3, 2018
1 parent 03ffd3f commit 874520d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reporters/stenographer/stenographer.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func (s *consoleStenographer) AnnounceSpecRunCompletion(summary *types.SuiteSumm
}

s.print(0,
"%s -- %s | %s | %s | %s ",
"%s -- %s | %s | %s | %s\n",
status,
s.colorize(greenColor+boldStyle, "%d Passed", summary.NumberOfPassedSpecs),
s.colorize(redColor+boldStyle, "%d Failed", summary.NumberOfFailedSpecs)+flakes,
Expand Down

0 comments on commit 874520d

Please sign in to comment.