diff --git a/tools/src/cmd/test-runner/main.go b/tools/src/cmd/test-runner/main.go index 707a4b10f1..8d4f855b68 100644 --- a/tools/src/cmd/test-runner/main.go +++ b/tools/src/cmd/test-runner/main.go @@ -323,7 +323,7 @@ func run() error { } if verbose || !rowAllPassed { - fmt.Println(row) + fmt.Fprintln(color.Output, row) } } @@ -350,7 +350,7 @@ func run() error { } col.Printf(alignRight(name, filenameColumnWidth)) fmt.Printf(" ┃ ") - fmt.Println(row) + fmt.Fprintln(color.Output, row) col.Printf(strings.Repeat(" ", filenameColumnWidth)) fmt.Printf(" ┃ ")