]> Dogcows Code - chaz/sbt-tap/commitdiff
flush the output
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Fri, 11 Jan 2013 22:23:05 +0000 (15:23 -0700)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Fri, 11 Jan 2013 22:23:05 +0000 (15:23 -0700)
src/main/scala/SbtTapReporting.scala

index 14b0576c2e742ff46d06f701ea44539537ec3105..e828c2d6b977a360c0f53c6ff52c09612d3c5f5a 100644 (file)
@@ -52,7 +52,10 @@ class SbtTapListener extends TestsListener {
     fileWriter.close()
   }
 
-  private def writeTapFields(s: Any*) { fileWriter.write(s.mkString("",  " ", "\n")) }
+  private def writeTapFields(s: Any*) {
+    fileWriter.write(s.mkString("",  " ", "\n"))
+    fileWriter.flush()
+  }
 
   private def stackTraceForError(t: Throwable): String = {
     val sw = new StringWriter()
This page took 0.026987 seconds and 4 git commands to generate.