fix errors like parse error still printed in color when -plaintext is set

This commit is contained in:
Irmen de Jong
2025-04-22 19:26:11 +02:00
parent e375f6afce
commit a4d0589f10
8 changed files with 20 additions and 78 deletions
+1
View File
@@ -68,6 +68,7 @@ internal class ErrorReporterForTests(private val throwExceptionAtReportIfErrors:
override fun noErrors(): Boolean = errors.isEmpty()
override fun noErrorForLine(position: Position) = !errors.any { ":${position.line}:" in it }
override fun print_single_error(errormessage: String) { /* prints nothing in tests */ }
override fun report() {
infos.forEach { println("UNITTEST COMPILATION REPORT: INFO: $it") }