summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-07-02 06:26:29 +0000
committerPaul Phillips <paulp@improving.org>2010-07-02 06:26:29 +0000
commit328651c39a3d35a2aaa0e09e7bb7a59bfddf90b3 (patch)
treeef82880842ec50fbcbd088b0cfad924f11b05c6c /test
parentfbc453397552983a2c2a229cca8f7c13a641b9c7 (diff)
downloadscala-328651c39a3d35a2aaa0e09e7bb7a59bfddf90b3.tar.gz
scala-328651c39a3d35a2aaa0e09e7bb7a59bfddf90b3.tar.bz2
scala-328651c39a3d35a2aaa0e09e7bb7a59bfddf90b3.zip
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.
Diffstat (limited to 'test')
-rw-r--r--test/files/run/xml-loop-bug.checkbin280 -> 0 bytes
-rw-r--r--test/files/run/xml-loop-bug.scala1
2 files changed, 1 insertions, 0 deletions
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
--- a/test/files/run/xml-loop-bug.check
+++ /dev/null
Binary files 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("<!DOCTYPE xmeml SYSTEM> <xmeml> <sequence> </sequence> </xmeml> "), true).document.docElem
}
}