Skip to content

Commit

Permalink
fix: add missing new line for better visualization of failed tests
Browse files Browse the repository at this point in the history
Signed-off-by: Lorenzo Susini <susinilorenzo1@gmail.com>
  • Loading branch information
loresuso committed Nov 27, 2024
1 parent 43ce926 commit 2960d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/test/tester/reportencoder/textencoder/textencoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (te *textEncoder) Encode(report *tester.Report) error {
sb.WriteString(fmt.Sprintf("Test %s, Rule %s\n", report.TestName, report.RuleName))

if report.Empty() {
sb.WriteString("\tFailed")
sb.WriteString("\tFailed\n")
_, err := io.WriteString(te.writer, sb.String())
return err
}
Expand Down

0 comments on commit 2960d43

Please sign in to comment.