summaryrefslogtreecommitdiff
path: root/test/files/run/t153.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-11-15 18:08:45 +0000
committerPaul Phillips <paulp@improving.org>2009-11-15 18:08:45 +0000
commit50f42ab8c16b5a8f361fb0435416325d3750e36e (patch)
tree948fbd6b5c3515ff7653d5d68bb88e7238a7a647 /test/files/run/t153.scala
parent31c1983e7264242ea5e35a4cf1ab54105a4d2419 (diff)
downloadscala-50f42ab8c16b5a8f361fb0435416325d3750e36e.tar.gz
scala-50f42ab8c16b5a8f361fb0435416325d3750e36e.tar.bz2
scala-50f42ab8c16b5a8f361fb0435416325d3750e36e.zip
Tweaked a test which has been regularly failing...
Tweaked a test which has been regularly failing due to heap exhaustion, although what it's supposed to be testing is stack utilization.
Diffstat (limited to 'test/files/run/t153.scala')
-rw-r--r--test/files/run/t153.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t153.scala b/test/files/run/t153.scala
index c7b3c1c762..359e40407b 100644
--- a/test/files/run/t153.scala
+++ b/test/files/run/t153.scala
@@ -1,5 +1,5 @@
object Test extends Application {
def powers(x: Int) = if ((x&(x-1))==0) Some(x) else None
- val res = (Stream.range(1, 1000000) flatMap powers).reverse
+ val res = (Stream.range(1, 500000) flatMap powers).reverse
println(res take 42 force)
} \ No newline at end of file