summaryrefslogtreecommitdiff
path: root/test/files/run/indexedSeq.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/indexedSeq.scala')
-rw-r--r--test/files/run/indexedSeq.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/indexedSeq.scala b/test/files/run/indexedSeq.scala
index 19308e1d8c..9744f47f63 100644
--- a/test/files/run/indexedSeq.scala
+++ b/test/files/run/indexedSeq.scala
@@ -1,8 +1,8 @@
object Test {
import scala.collection.{ mutable, immutable, generic }
-
+
def checkIdentity[A](xs: immutable.IndexedSeq[A]) = assert(xs.toIndexedSeq eq xs)
-
+
def main(args: Array[String]): Unit = {
checkIdentity(immutable.Vector(1 to 10: _*))
checkIdentity(1 to 10 toIndexedSeq)