Skip to content

Commit 6424907

Browse files
committed
SI-6158 Restore compile error output under partest --show-log
Seems like the ifs and elses didn't quite survive e830a7c. Before: ./test/partest --show-log test/files/run/foo.scala Testing individual files testing: [...]/files/run/foo.scala [FAILED] Now: ./test/partest --show-log test/files/run/foo.scala Testing individual files testing: [...]/files/run/foo.scala [FAILED] foo.scala:1: error: expected class or object definition askdfjskl ^ one error found 1 of 1 tests failed (elapsed time: 00:00:01)
1 parent 6537d79 commit 6424907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/partest/scala/tools/partest/nest/RunnerManager.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ class RunnerManager(kind: String, val fileManager: FileManager, params: TestRunP
817817
if (passed exists (x => !x)) {
818818
if (fileManager.showDiff || isPartestDebug)
819819
NestUI.normal(testDiff)
820-
else if (fileManager.showLog)
820+
if (fileManager.showLog)
821821
showLog(logFile)
822822
}
823823
}

0 commit comments

Comments
 (0)