summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/files/jvm/xml01.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/jvm/xml01.scala b/test/files/jvm/xml01.scala
index 7246c94c5b..56d9646fa3 100644
--- a/test/files/jvm/xml01.scala
+++ b/test/files/jvm/xml01.scala
@@ -225,4 +225,7 @@ object Test extends Application with Assert {
val p = scala.xml.parsing.ConstructingParser.fromSource(scala.io.Source.fromString("<foo bar:attr='&amp;'/>"),true)
val n = p.element(new scala.xml.NamespaceBinding("bar","BAR",scala.xml.TopScope))(0)
assertFalse( n.attributes.get("BAR", n, "attr").isEmpty)
+
+ // #547 test
+ assertTrue(<xml:group>hello</xml:group>.toString == "hello")
}