diff --git a/internal/utesting/utesting.go b/internal/utesting/utesting.go index 8260de1d76..0a72892dc6 100644 --- a/internal/utesting/utesting.go +++ b/internal/utesting/utesting.go @@ -221,7 +221,7 @@ func (w *indentWriter) Write(b []byte) (n int, err error) { // flush ensures the current line is terminated. func (w *indentWriter) flush() { if w.inLine { - fmt.Println(w.out) + fmt.Fprintln(w.out) w.inLine = false } }