diff options
Diffstat (limited to 'test/files/jvm/interpreter.scala')
-rw-r--r-- | test/files/jvm/interpreter.scala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/files/jvm/interpreter.scala b/test/files/jvm/interpreter.scala index 2c2756828b..1437b97f79 100644 --- a/test/files/jvm/interpreter.scala +++ b/test/files/jvm/interpreter.scala @@ -30,7 +30,7 @@ val atom = new scala.xml.Atom() class S(override val toString : String) val fish = new S("fish") // Test that arrays pretty print nicely. -val arr = Array("What's", "up", "doc?") +val arr = Array("What's", "up", "doc?") // Test that arrays pretty print nicely, even when we give them type Any val arrInt : Any = Array(1,2,3) // Test that nested arrays are pretty-printed correctly @@ -133,8 +133,8 @@ there // defining and using quoted names should work (ticket #323) -def `match` = 1 -val x = `match` +def `match` = 1 +val x = `match` // multiple classes defined on one line sealed class Exp; class Fact extends Exp; class Term extends Exp @@ -151,8 +151,8 @@ def f(e: Exp) = e match {{ // non-exhaustive warning here var seenNL = false def write(cbuf: Array[Char], off: Int, len: Int) { - if (seenNL) - writer.write(cbuf, off, len) + if (seenNL) + writer.write(cbuf, off, len) else { val slice : Array[Char] = cbuf.slice(off, off+len) val i = slice.indexOf('\n') |