summaryrefslogtreecommitdiff
path: root/test/files/run/xmlParsing_servlet.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/xmlParsing_servlet.scala')
-rw-r--r--test/files/run/xmlParsing_servlet.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/run/xmlParsing_servlet.scala b/test/files/run/xmlParsing_servlet.scala
index d7416c824b..7bd622b0a6 100644
--- a/test/files/run/xmlParsing_servlet.scala
+++ b/test/files/run/xmlParsing_servlet.scala
@@ -18,7 +18,7 @@ object Test {
{ headerMsg }
</p>
<p>
- { ns }
+ { ns:_* }
</p>
<hr/>
<p>
@@ -37,13 +37,13 @@ object Test {
*/
def beautify( n:Node ):Node = n match {
case <td>{ xs @ _* }</td> =>
- <td bgcolor="#AAAAFF" color="#222255">{ xs }</td>
+ <td bgcolor="#AAAAFF" color="#222255">{ xs:_* }</td>
case <table>{ xs @ _* }</table> =>
- <table align="center">{ beautify( xs ) }</table>
+ <table align="center">{ beautify( xs ):_* }</table>
case Elem( label, xs @ _* ) =>
- Elem( label, (xs.toList.map { beautify }):_*)
+ Elem( label, beautify( xs ):_*)
case _ => n
}