@@ -36,7 +36,7 @@ extends Reporter with UniqueMessagePositions with HideNonSensicalMessages with M
3636 final def messages : Iterator [String ] = _messageBuf.iterator
3737
3838 protected final val _consoleBuf = new StringWriter
39- protected final val _consoleReporter = new ConsoleReporter (null , new PrintWriter (_consoleBuf)):
39+ protected final val _consoleReporter = new ConsoleReporter (scala. Console .in , new PrintWriter (_consoleBuf)):
4040 override protected def renderPath (file : AbstractFile ): String = TestReporter .renderPath(file)
4141
4242 final def consoleOutput : String = _consoleBuf.toString
@@ -123,7 +123,7 @@ object TestReporter {
123123
124124 def logPath : String = {
125125 initLog()
126- outFile.getCanonicalPath
126+ outFile.getCanonicalPath.nn
127127 }
128128
129129 def reporter (ps : PrintStream , logLevel : Int ): TestReporter =
@@ -160,7 +160,7 @@ object TestReporter {
160160 Properties .rerunFailed &&
161161 failedTestsFile.exists() &&
162162 failedTestsFile.isFile
163- )(readAllLines(failedTestsFile.toPath).asScala.toList)
163+ )(readAllLines(failedTestsFile.toPath).nn. asScala.toList)
164164
165165 def writeFailedTests (tests : List [String ]): Unit =
166166 initLog()
@@ -169,7 +169,7 @@ object TestReporter {
169169
170170 def renderPath (file : AbstractFile ): String =
171171 if JFile .separatorChar == '\\ ' then
172- file.path.replace('\\ ' , '/' )
172+ file.path.replace('\\ ' , '/' ).nn
173173 else
174174 file.path
175175}
0 commit comments