diff options
Diffstat (limited to 'tests/run/CollectionTests.scala')
-rw-r--r-- | tests/run/CollectionTests.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/run/CollectionTests.scala b/tests/run/CollectionTests.scala index 46cb63544..0421cfbe4 100644 --- a/tests/run/CollectionTests.scala +++ b/tests/run/CollectionTests.scala @@ -160,8 +160,10 @@ object Test { def main(args: Array[String]) = { val ints = Cons(1, Cons(2, Cons(3, Nil))) + val intsBuf = ints.collect(ArrayBuffer) val intsView = ints.view seqOps(ints) + seqOps(intsBuf) viewOps(intsView) stringOps("abc") } |