summaryrefslogtreecommitdiff
path: root/test/files/run/t3361.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t3361.scala')
-rw-r--r--test/files/run/t3361.scala6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/files/run/t3361.scala b/test/files/run/t3361.scala
index 17af89a67c..892e36dbd9 100644
--- a/test/files/run/t3361.scala
+++ b/test/files/run/t3361.scala
@@ -39,10 +39,8 @@ object Test extends App {
def insert_1 {
val ten = DoubleLinkedList(1 to 10: _*)
- ten.insert(DoubleLinkedList(11)) match {
- case _: Unit => require(true)
- case _ => require(false)
- }
+ ten.append(DoubleLinkedList(11))
+
// Post-insert size test
require(11 == ten.size)
// Post-insert data test