diff options
author | Paul Phillips <paulp@improving.org> | 2009-05-01 20:40:19 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-05-01 20:40:19 +0000 |
commit | 6befaa0f9dbfebcfc16a1ab02d666124fb776ede (patch) | |
tree | 7b27a161f70546f581c7fbd6fe7ce1f39938f3c2 /test/files/jvm | |
parent | 8cc51cc0dce7d86a4137eb636c4e3bed1b90cf13 (diff) | |
download | scala-6befaa0f9dbfebcfc16a1ab02d666124fb776ede.tar.gz scala-6befaa0f9dbfebcfc16a1ab02d666124fb776ede.tar.bz2 scala-6befaa0f9dbfebcfc16a1ab02d666124fb776ede.zip |
Renamed overloaded toString variations througho...
Renamed overloaded toString variations throughout scala.xml to
buildString. Fixes bug #547, includes test case.
Diffstat (limited to 'test/files/jvm')
-rw-r--r-- | test/files/jvm/xml01.scala | 3 |
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='&'/>"),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") } |