aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/scala/org/perl8/test/harness/SummaryReporter.scala
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-02-26 20:36:13 -0600
committerJesse Luehrs <doy@tozt.net>2013-02-26 20:36:13 -0600
commit2f6007fbe3131b24c22f139dbd4d317b668aef9b (patch)
tree5ea7ad5a1f88dcbd9c7b8a7f0e582dc7b9762563 /src/main/scala/org/perl8/test/harness/SummaryReporter.scala
parent040c5b9d27423c9831fc9e15e64a3659a2a51b35 (diff)
downloadscala-test-more-2f6007fbe3131b24c22f139dbd4d317b668aef9b.tar.gz
scala-test-more-2f6007fbe3131b24c22f139dbd4d317b668aef9b.zip
split out the tap stream parser from the individual line parsers
Diffstat (limited to 'src/main/scala/org/perl8/test/harness/SummaryReporter.scala')
-rw-r--r--src/main/scala/org/perl8/test/harness/SummaryReporter.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scala/org/perl8/test/harness/SummaryReporter.scala b/src/main/scala/org/perl8/test/harness/SummaryReporter.scala
index 7c343c3..ddeeb43 100644
--- a/src/main/scala/org/perl8/test/harness/SummaryReporter.scala
+++ b/src/main/scala/org/perl8/test/harness/SummaryReporter.scala
@@ -3,7 +3,7 @@ package org.perl8.test.harness
import java.io.ByteArrayOutputStream
import org.perl8.test.tap
-import org.perl8.test.tap.{TAPResult,TodoDirective}
+import org.perl8.test.tap.Consumer.{TAPResult,TodoDirective}
import org.perl8.test.Test
class SummaryReporter extends MultiTestReporter {
@@ -25,7 +25,7 @@ class SummaryReporter extends MultiTestReporter {
Console.withOut(out) {
test.run
}
- val result = tap.Consumer.parse(out)
+ val result = (new tap.Parser).parse(out)
if (result.success) {
println("ok")