diff options
author | Paul Phillips <paulp@improving.org> | 2010-10-19 15:03:08 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-10-19 15:03:08 +0000 |
commit | 26ac638650e2da23d2d97194bf13b5b9162ac181 (patch) | |
tree | f158017f04d031c07fa498d41fcb37d51fd9df52 /test/files | |
parent | 79389bc80d08b18e20372c181a5749b8efc9614d (diff) | |
download | scala-26ac638650e2da23d2d97194bf13b5b9162ac181.tar.gz scala-26ac638650e2da23d2d97194bf13b5b9162ac181.tar.bz2 scala-26ac638650e2da23d2d97194bf13b5b9162ac181.zip |
Reverts r23251 because it hangs on windows.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/bug3881.check | 1 | ||||
-rw-r--r-- | test/files/run/bug3881.scala | 27 |
2 files changed, 0 insertions, 28 deletions
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 = "<foo>".iterator ++ new Iterator[Char] { - var count = -1 - val bar = "<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") - } -} - |