From 50f42ab8c16b5a8f361fb0435416325d3750e36e Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sun, 15 Nov 2009 18:08:45 +0000 Subject: 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. --- test/files/run/t153.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/run/t153.scala') 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 -- cgit v1.2.3