diff options
Diffstat (limited to 'test/files/run/arybufgrow.scala')
-rw-r--r-- | test/files/run/arybufgrow.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/arybufgrow.scala b/test/files/run/arybufgrow.scala index 4dccd962f2..9e18435243 100644 --- a/test/files/run/arybufgrow.scala +++ b/test/files/run/arybufgrow.scala @@ -2,8 +2,8 @@ import scala.collection.mutable._; object Test extends Application { val buf = new ArrayBuffer[String]; - for(val i <- List.range(0,1000)) { - buf + "hello"; + for (i <- List.range(0,1000)) { + buf += "hello"; } Console.println("1000 = " + buf.length); |