diff options
author | Paul Phillips <paulp@improving.org> | 2009-11-15 18:08:45 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-11-15 18:08:45 +0000 |
commit | 50f42ab8c16b5a8f361fb0435416325d3750e36e (patch) | |
tree | 948fbd6b5c3515ff7653d5d68bb88e7238a7a647 /test/files | |
parent | 31c1983e7264242ea5e35a4cf1ab54105a4d2419 (diff) | |
download | scala-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')
-rw-r--r-- | test/files/run/t153.check | 2 | ||||
-rw-r--r-- | test/files/run/t153.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/t153.check b/test/files/run/t153.check index 504fd7fc7f..648a6de7c3 100644 --- a/test/files/run/t153.check +++ b/test/files/run/t153.check @@ -1 +1 @@ -Stream(524288, 262144, 131072, 65536, 32768, 16384, 8192, 4096, 2048, 1024, 512, 256, 128, 64, 32, 16, 8, 4, 2, 1) +Stream(262144, 131072, 65536, 32768, 16384, 8192, 4096, 2048, 1024, 512, 256, 128, 64, 32, 16, 8, 4, 2, 1) 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 |