diff options
author | Philipp Haller <hallerp@gmail.com> | 2010-07-12 08:29:45 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2010-07-12 08:29:45 +0000 |
commit | a02ff1ac0e7cac2dccaf7351a22876438eb84d66 (patch) | |
tree | c97a14ffb9a3a0a67811c53095750a144f39dc27 /test/files | |
parent | 029482c86e4940bb47a195eea13d9f66faeb2c66 (diff) | |
download | scala-a02ff1ac0e7cac2dccaf7351a22876438eb84d66.tar.gz scala-a02ff1ac0e7cac2dccaf7351a22876438eb84d66.tar.bz2 scala-a02ff1ac0e7cac2dccaf7351a22876438eb84d66.zip |
Added test case for #3645. Closes #3645.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/t3645.scala | 6 |
1 files changed, 6 insertions, 0 deletions
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) ) + } +} |