diff options
author | Paul Phillips <paulp@improving.org> | 2011-10-04 21:33:31 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-10-04 21:33:31 +0000 |
commit | ea562b4177eee9f8a00ac9005b7a786d7370563e (patch) | |
tree | 0078a3e0cda288a2b38c463e66f6ad81abdfa9f3 /test/files | |
parent | 10938bfc062511bbb19fe697235332e0e303ceab (diff) | |
download | scala-ea562b4177eee9f8a00ac9005b7a786d7370563e.tar.gz scala-ea562b4177eee9f8a00ac9005b7a786d7370563e.tar.bz2 scala-ea562b4177eee9f8a00ac9005b7a786d7370563e.zip |
Restores XML entity fix.
Did something eat some whitespace? I don't know. This is almost the same
commit as r25783, but with different whitespace. No review.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/jvm/xml05.check | 11 | ||||
-rw-r--r-- | test/files/jvm/xml05.scala | 7 |
2 files changed, 18 insertions, 0 deletions
diff --git a/test/files/jvm/xml05.check b/test/files/jvm/xml05.check new file mode 100644 index 0000000000..00e617c578 --- /dev/null +++ b/test/files/jvm/xml05.check @@ -0,0 +1,11 @@ +Type in expressions to have them evaluated. +Type :help for more information. + +scala> + +scala> <city name="San José"/> +res0: scala.xml.Elem = <city name="San José"></city> + +scala> + +scala> diff --git a/test/files/jvm/xml05.scala b/test/files/jvm/xml05.scala new file mode 100644 index 0000000000..52ae255393 --- /dev/null +++ b/test/files/jvm/xml05.scala @@ -0,0 +1,7 @@ +import scala.tools.partest.ReplTest + +object Test extends ReplTest { + def code = """ +<city name="San José"/> + """ +}
\ No newline at end of file |