From 328651c39a3d35a2aaa0e09e7bb7a59bfddf90b3 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Fri, 2 Jul 2010 06:26:29 +0000 Subject: Made a null output sink and applied it to the r... Made a null output sink and applied it to the recently failing test, which is displaying non-deterministic output by way of the underlying parser. No review. --- test/files/run/xml-loop-bug.check | Bin 280 -> 0 bytes test/files/run/xml-loop-bug.scala | 1 + 2 files changed, 1 insertion(+) delete mode 100644 test/files/run/xml-loop-bug.check (limited to 'test/files/run') diff --git a/test/files/run/xml-loop-bug.check b/test/files/run/xml-loop-bug.check deleted file mode 100644 index a31b93d0cf..0000000000 Binary files a/test/files/run/xml-loop-bug.check and /dev/null differ diff --git a/test/files/run/xml-loop-bug.scala b/test/files/run/xml-loop-bug.scala index acb3c5c6da..3894779f7c 100644 --- a/test/files/run/xml-loop-bug.scala +++ b/test/files/run/xml-loop-bug.scala @@ -1,5 +1,6 @@ object Test { def main(args: Array[String]): Unit = { + scala.tools.nsc.io.NullPrintStream.setOutAndErr() scala.xml.parsing.ConstructingParser.fromSource(scala.io.Source.fromString(" "), true).document.docElem } } -- cgit v1.2.3