From c1d1fec365efbb7ee4798594784458b3f5be4dcf Mon Sep 17 00:00:00 2001 From: Sean McDirmid Date: Fri, 30 Mar 2007 08:03:47 +0000 Subject: Fixing the build (toString() issues in the comp... Fixing the build (toString() issues in the compiler) and the test suite (toString() issues, spacing issues, and some stringPrefix issues) --- test/files/jvm/serialization.check | 32 ++++++++++++++++---------------- test/files/jvm/xmlstuff.scala | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) (limited to 'test/files/jvm') diff --git a/test/files/jvm/serialization.check b/test/files/jvm/serialization.check index d5fd15919f..7bd2a1524f 100644 --- a/test/files/jvm/serialization.check +++ b/test/files/jvm/serialization.check @@ -14,8 +14,8 @@ x4 = y4 = x4(2): 4 - y4(2): 4 -x = List((buffers,20),(layers,2),(title,3)) -y = List((buffers,20),(layers,2),(title,3)) +x = List((buffers,20), (layers,2), (title,3)) +y = List((buffers,20), (layers,2), (title,3)) x equals y: true - y equals x: true x = Map(buffers -> 20, layers -> 2, title -> 3) @@ -34,20 +34,20 @@ x = Queue(a,b,c) y = Queue(a,b,c) x equals y: true - y equals x: true -x = Stack(c,b,a) -y = Stack(c,b,a) +x = Stack(c, b, a) +y = Stack(c, b, a) x equals y: true - y equals x: true x = Map(42 -> FortyTwo) y = Map(42 -> FortyTwo) x equals y: true - y equals x: true -x = Set(0, 2) -y = Set(0, 2) +x = TreeSet(0, 2) +y = TreeSet(0, 2) x equals y: true - y equals x: true -x = ArrayBuffer(one,two) -y = ArrayBuffer(one,two) +x = ArrayBuffer(one, two) +y = ArrayBuffer(one, two) x equals y: true - y equals x: true x = Map(title -> 3, buffers -> 20, layers -> 2) @@ -58,24 +58,24 @@ x = Set(0, 8, 9) y = Set(0, 8, 9) x equals y: true - y equals x: true -x = Set(layers, buffers, title) -y = Set(layers, buffers, title) +x = HashSet(layers, buffers, title) +y = HashSet(layers, buffers, title) x equals y: true - y equals x: true -x = LinkedList(2,3) -y = LinkedList(2,3) +x = LinkedList(2, 3) +y = LinkedList(2, 3) x equals y: true - y equals x: true x = Queue(20, 2, 3) y = Queue(20, 2, 3) x equals y: true - y equals x: true -x = Stack(20,2,3) -y = Stack(20,2,3) +x = Stack(20, 2, 3) +y = Stack(20, 2, 3) x equals y: true - y equals x: true -x = ListBuffer(white,black) -y = ListBuffer(white,black) +x = ListBuffer(white, black) +y = ListBuffer(white, black) x equals y: true - y equals x: true x = title diff --git a/test/files/jvm/xmlstuff.scala b/test/files/jvm/xmlstuff.scala index 7c66068b5a..df0e129248 100644 --- a/test/files/jvm/xmlstuff.scala +++ b/test/files/jvm/xmlstuff.scala @@ -61,7 +61,7 @@ passed ok ; val pelems_1 = for( val x <- p \ "bar"; val y <- p \ "baz" ) yield { - Text(x.attributes("value").toString() + y.attributes("bazValue").toString()+ "!") + Text(x.attributes("value").toString + y.attributes("bazValue").toString+ "!") }; val pelems_2 = new NodeSeq { val theSeq = List(Text("38!"),Text("58!")) }; assertSameElements(pelems_1, pelems_2); -- cgit v1.2.3