Skip to content

Commit 3c71917

Browse files
committed
test
1 parent 76f76fd commit 3c71917

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

compat/src/test/scala/test/scala/collection/ArraySeqTest.scala

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,11 @@ class ArraySeqTest {
7272
Assert.assertEquals(ArraySeq[T](), array.slice(1, 1))
7373
Assert.assertEquals(ArraySeq[T](), array.slice(2, 1))
7474
}
75+
76+
@Test def ArraySeqIndexedSeqOptimized(): Unit = {
77+
val x = ArraySeq(1, 2)
78+
val y = ArraySeq(3, 4)
79+
val z: ArraySeq[Int] = x ++ y
80+
assert(z.toList == List(1,2,3,4))
81+
}
7582
}

0 commit comments

Comments
 (0)