From 26ac638650e2da23d2d97194bf13b5b9162ac181 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 19 Oct 2010 15:03:08 +0000 Subject: Reverts r23251 because it hangs on windows. --- test/files/run/bug3881.check | 1 - test/files/run/bug3881.scala | 27 --------------------------- 2 files changed, 28 deletions(-) delete mode 100644 test/files/run/bug3881.check delete mode 100644 test/files/run/bug3881.scala (limited to 'test/files/run') diff --git a/test/files/run/bug3881.check b/test/files/run/bug3881.check deleted file mode 100644 index 888acde74f..0000000000 --- a/test/files/run/bug3881.check +++ /dev/null @@ -1 +0,0 @@ -1000000 xml events diff --git a/test/files/run/bug3881.scala b/test/files/run/bug3881.scala deleted file mode 100644 index 21247492f5..0000000000 --- a/test/files/run/bug3881.scala +++ /dev/null @@ -1,27 +0,0 @@ -object Test { - - def forever() = new io.Source { - val iter = "".iterator ++ new Iterator[Char] { - var count = -1 - val bar = "\n" - def hasNext = true - def next() = { - count += 1 - bar(count % bar.length) - } - } - } - - def main(args: Array[String]): Unit = { - val src = forever() - val reader = new xml.pull.XMLEventReader(src) - var count = 0 - while (reader.hasNext && count < 1000000) { - reader.next - count += 1 - } - reader.stop - println(count + " xml events") - } -} - -- cgit v1.2.3