summaryrefslogtreecommitdiff
path: root/test/files/run/mapConserve.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/mapConserve.scala')
-rw-r--r--test/files/run/mapConserve.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/mapConserve.scala b/test/files/run/mapConserve.scala
index 330fb34ca1..d1d52f3107 100644
--- a/test/files/run/mapConserve.scala
+++ b/test/files/run/mapConserve.scala
@@ -7,8 +7,8 @@ import scala.collection.mutable.ListBuffer
object Test {
val maxListLength = 7 // up to 16, but larger is slower
var testCount = 0
-
- def checkStackOverflow() = {
+
+ def checkStackOverflow() = {
var xs: List[String] = Nil
for (i <- 0 until 250000)
xs = "X" :: xs
@@ -50,7 +50,7 @@ object Test {
// Behaves like existing mapConserve with respect to eq
checkBehaviourUnchanged(data, data mapConserve lastHexDigit, data mapConserve lastHexDigit)
}
-
+
checkStackOverflow();
}
}