diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/jvm/xmlLiterals.check | 19 | ||||
-rw-r--r-- | test/files/jvm/xmlLiterals.scala | 6 |
2 files changed, 24 insertions, 1 deletions
diff --git a/test/files/jvm/xmlLiterals.check b/test/files/jvm/xmlLiterals.check index 324e1378f0..4fa9298cd2 100644 --- a/test/files/jvm/xmlLiterals.check +++ b/test/files/jvm/xmlLiterals.check @@ -18,7 +18,7 @@ passed ok passed ok passed ok Test03Servlet -<html><head><title>ModularFormatting</title></head><body><h2>Welcome</h2><p>What follows is an example of modular formatting.</p><p><table align="center"><tr><td bgcolor="#AAAAFF" color="#222255"><h1>message</h1></td></tr></table></p><hr></hr><p>Complicated layout tasks can be encapsulated and outsourced.</p><h2>Bye!</h2></body></html> +<html><head><title>ModularFormatting</title></head><body><h2>Welcome</h2><p>What follows is an example of modular formatting.</p><p><table align="center"><tr><td bgcolor="#AAAAFF" color="#222255"><h1>message</h1></td></tr></table></p><p>1a23.23</p><p><table align="center"><tr><td bgcolor="#AAAAFF" color="#222255"><h1>message</h1></td></tr></table><table align="center"><tr><td bgcolor="#AAAAFF" color="#222255"><h1>message</h1></td></tr></table></p><hr></hr><p>Complicated layout tasks can be encapsulated and outsourced.</p><h2>Bye!</h2></body></html> <html> <head> <title>ModularFormatting</title> @@ -35,6 +35,23 @@ Test03Servlet </tr> </table> </p> + <p>1a23.23</p> + <p> + <table align="center"> + <tr> + <td bgcolor="#AAAAFF" color="#222255"> + <h1>message</h1> + </td> + </tr> + </table> + <table align="center"> + <tr> + <td bgcolor="#AAAAFF" color="#222255"> + <h1>message</h1> + </td> + </tr> + </table> + </p> <hr></hr> <p>Complicated layout tasks can be encapsulated and outsourced.</p> <h2>Bye!</h2> diff --git a/test/files/jvm/xmlLiterals.scala b/test/files/jvm/xmlLiterals.scala index 6df8082c0c..73d6627b1c 100644 --- a/test/files/jvm/xmlLiterals.scala +++ b/test/files/jvm/xmlLiterals.scala @@ -170,6 +170,12 @@ object Test03Servlet { <p> { ns } </p> + <p> + { 1 } {'a'} { 23.23 } + </p> + <p> + { for(val n <- ns.toList) yield { n::n::Nil } } + </p> <hr/> <p> {footerMsg} |