summaryrefslogtreecommitdiff
path: root/test/files/jvm
diff options
context:
space:
mode:
authorSean McDirmid <sean.mcdirmid@gmail.com>2007-03-30 08:03:47 +0000
committerSean McDirmid <sean.mcdirmid@gmail.com>2007-03-30 08:03:47 +0000
commitc1d1fec365efbb7ee4798594784458b3f5be4dcf (patch)
tree81853571356e3d12df16c865b1e20a46ad72b08a /test/files/jvm
parent3b317f928b0ea755037f71bd59bbe30e23deb725 (diff)
downloadscala-c1d1fec365efbb7ee4798594784458b3f5be4dcf.tar.gz
scala-c1d1fec365efbb7ee4798594784458b3f5be4dcf.tar.bz2
scala-c1d1fec365efbb7ee4798594784458b3f5be4dcf.zip
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)
Diffstat (limited to 'test/files/jvm')
-rw-r--r--test/files/jvm/serialization.check32
-rw-r--r--test/files/jvm/xmlstuff.scala2
2 files changed, 17 insertions, 17 deletions
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 = <na>
y4 = <na>
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 = <html><title>title</title><body></body></html>
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
</foo>;
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);