diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2010-09-21 12:17:58 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2010-09-21 12:17:58 +0000 |
commit | 8b16236ebd7003218de2ac2fff9339972353e4bf (patch) | |
tree | 8db1ce2d468e79b0007fb788c7fec96b40b3dd33 /src | |
parent | 0dacb8195a2aff3dd4b5e1d3aa0ff883e1113744 (diff) | |
download | scala-8b16236ebd7003218de2ac2fff9339972353e4bf.tar.gz scala-8b16236ebd7003218de2ac2fff9339972353e4bf.tar.bz2 scala-8b16236ebd7003218de2ac2fff9339972353e4bf.zip |
Fixes the way results of Scalatest are checked ...
Fixes the way results of Scalatest are checked by Partest. Contributed
by Kato Kazuyoshi. Review by phaller.
Diffstat (limited to 'src')
-rw-r--r-- | src/partest/scala/tools/partest/nest/Worker.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/partest/scala/tools/partest/nest/Worker.scala b/src/partest/scala/tools/partest/nest/Worker.scala index c719dc9709..36a07c2279 100644 --- a/src/partest/scala/tools/partest/nest/Worker.scala +++ b/src/partest/scala/tools/partest/nest/Worker.scala @@ -483,7 +483,8 @@ class Worker(val fileManager: FileManager) extends Actor { NestUI.verbose(SFile(logFile).slurp()) // obviously this must be improved upon - succeeded = SFile(logFile).lines() forall (_ contains " OK") + succeeded = + SFile(logFile).lines.filter(_.trim != "") forall (_ contains "OK") }) case "pos" => |