From a02ff1ac0e7cac2dccaf7351a22876438eb84d66 Mon Sep 17 00:00:00 2001 From: Philipp Haller Date: Mon, 12 Jul 2010 08:29:45 +0000 Subject: Added test case for #3645. Closes #3645. --- test/files/run/t3645.scala | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/files/run/t3645.scala diff --git a/test/files/run/t3645.scala b/test/files/run/t3645.scala new file mode 100644 index 0000000000..af2543377b --- /dev/null +++ b/test/files/run/t3645.scala @@ -0,0 +1,6 @@ +object Test { + def main(args: Array[String]) { + val s = Stream.tabulate(5)(x => x+2) + assert( s.toList == List(2,3,4,5,6) ) + } +} -- cgit v1.2.3