summaryrefslogtreecommitdiff
path: root/test/files/run/t5590.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t5590.scala')
-rw-r--r--test/files/run/t5590.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/files/run/t5590.scala b/test/files/run/t5590.scala
index 9c806e0b7d..baf0503a04 100644
--- a/test/files/run/t5590.scala
+++ b/test/files/run/t5590.scala
@@ -7,25 +7,25 @@ import collection._
object Test {
-
+
def check(obj: AnyRef) {
println(obj)
-
+
val bos = new ByteArrayOutputStream()
val out = new ObjectOutputStream(bos)
out.writeObject(obj)
val arr = bos.toByteArray()
val in = new ObjectInputStream(new ByteArrayInputStream(arr))
val deser = in.readObject()
-
+
println(deser)
}
-
+
def main(args: Array[String]) {
val lhm = mutable.LinkedHashMap("a" -> "a", "b" -> "b", "c" -> "c")
val lhs = mutable.LinkedHashSet("a", "b", "c", "d", "e")
check(lhm)
check(lhs)
}
-
+
}