diff options
author | Antonio Cunei <antonio.cunei@epfl.ch> | 2011-11-07 09:55:53 +0000 |
---|---|---|
committer | Antonio Cunei <antonio.cunei@epfl.ch> | 2011-11-07 09:55:53 +0000 |
commit | 44b32ff306ce4dfe171db00d6b37df65467f3f46 (patch) | |
tree | ccf6907387ed6a0304c8d3fc8b83f1964a05713f /test/files/run/t3970.scala | |
parent | e196a153ccb69aed372b219ed18471a4fe29391e (diff) | |
download | scala-44b32ff306ce4dfe171db00d6b37df65467f3f46.tar.gz scala-44b32ff306ce4dfe171db00d6b37df65467f3f46.tar.bz2 scala-44b32ff306ce4dfe171db00d6b37df65467f3f46.zip |
Backport of r25948
Diffstat (limited to 'test/files/run/t3970.scala')
-rw-r--r-- | test/files/run/t3970.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/t3970.scala b/test/files/run/t3970.scala index 35b5ce6e1b..f8c763bc85 100644 --- a/test/files/run/t3970.scala +++ b/test/files/run/t3970.scala @@ -9,11 +9,11 @@ object Test { def main(args: Array[String]) { val dl = DoubleLinkedList[Int]() dl.remove() - + val dl2 = DoubleLinkedList[Int](1, 2, 3) dl2.next.remove() assert(dl2 == DoubleLinkedList(1, 3)) - + val dl3 = DoubleLinkedList[Int](1, 2, 3) assert(dl3.drop(1) == DoubleLinkedList(2, 3)) assert(dl3.drop(1).prev == null) |