summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJames Iry <jamesiry@gmail.com>2013-02-06 13:33:11 -0800
committerJames Iry <jamesiry@gmail.com>2013-02-06 13:34:39 -0800
commit015ff514e18bdcd016f7175202286ac4c0d42831 (patch)
tree5a17155fbb54aee35b6a60009277543c75556ea9 /test
parentb99af13e7046d4270e0826d63c1b6cca9f41722f (diff)
downloadscala-015ff514e18bdcd016f7175202286ac4c0d42831.tar.gz
scala-015ff514e18bdcd016f7175202286ac4c0d42831.tar.bz2
scala-015ff514e18bdcd016f7175202286ac4c0d42831.zip
[nomaster] Revert "SI-5017 Poor performance of :+ operator on Arrays"
This reverts commit 02b2da63409af6a28824cbb74d00d0ec04518c8d.
Diffstat (limited to 'test')
-rw-r--r--test/files/run/array-addition.check4
-rw-r--r--test/files/run/array-addition.scala11
2 files changed, 0 insertions, 15 deletions
diff --git a/test/files/run/array-addition.check b/test/files/run/array-addition.check
deleted file mode 100644
index 7bfbd9c711..0000000000
--- a/test/files/run/array-addition.check
+++ /dev/null
@@ -1,4 +0,0 @@
-Array(1, 2, 3, 4)
-Array(1, 2, 3, 4)
-Array(1)
-Array(1)
diff --git a/test/files/run/array-addition.scala b/test/files/run/array-addition.scala
deleted file mode 100644
index 8def48e85c..0000000000
--- a/test/files/run/array-addition.scala
+++ /dev/null
@@ -1,11 +0,0 @@
-object Test {
- def prettyPrintArray(x: Array[_]) = println("Array(" + x.mkString(", ") + ")")
-
- def main(args: Array[String]): Unit = {
- prettyPrintArray(Array(1,2,3) :+ 4)
- prettyPrintArray(1 +: Array(2,3,4))
- prettyPrintArray(Array() :+ 1)
- prettyPrintArray(1 +: Array())
- }
-}
-