diff options
Diffstat (limited to 'test/files/run/stream-stack-overflow-filter-map.scala')
-rw-r--r-- | test/files/run/stream-stack-overflow-filter-map.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/files/run/stream-stack-overflow-filter-map.scala b/test/files/run/stream-stack-overflow-filter-map.scala index c6e8781d0a..f3a9dd49cb 100644 --- a/test/files/run/stream-stack-overflow-filter-map.scala +++ b/test/files/run/stream-stack-overflow-filter-map.scala @@ -37,6 +37,8 @@ object Test extends App { //Complete test case for withFilter + map/flatMap, as requested by @axel22. for (j <- (0 to 3) :+ 10000) { - testStream((1 to j).toStream) + val stream = (1 to j).toStream + assert(stream.toSeq == (1 to j).toSeq) + testStream(stream) } } |