diff options
author | Burak Emir <emir@epfl.ch> | 2007-03-02 19:26:17 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2007-03-02 19:26:17 +0000 |
commit | cac2dae1954586d34bff6e3aad0439ccc6d4bdce (patch) | |
tree | dd221a491b1558f6e91dff6554f032e7de6ee27a /test/files/jvm/xml02.scala | |
parent | d3d697a9c5c51e4a78d8a0392cc37723bbe6e3e5 (diff) | |
download | scala-cac2dae1954586d34bff6e3aad0439ccc6d4bdce.tar.gz scala-cac2dae1954586d34bff6e3aad0439ccc6d4bdce.tar.bz2 scala-cac2dae1954586d34bff6e3aad0439ccc6d4bdce.zip |
added namespace test
Diffstat (limited to 'test/files/jvm/xml02.scala')
-rw-r--r-- | test/files/jvm/xml02.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/jvm/xml02.scala b/test/files/jvm/xml02.scala index bae815b1c1..143d125a7f 100644 --- a/test/files/jvm/xml02.scala +++ b/test/files/jvm/xml02.scala @@ -32,6 +32,7 @@ object Test extends TestConsoleMain { assertTrue(<hello/> match { case <hello/> => true; case _ => false; }) assertTrue(<x:ga xmlns:x="z"/> match { case <x:ga/> => true; case _ => false; }); assertTrue(Utility.trim(cx) match { case n @ <hello>crazy text world</hello> if n \ "@foo" == "bar" => true; }) + assertTrue(Utility.trim(cx) match { case n @ <z:hello>crazy text world</z:hello> if n \ "@foo" == "bar" => true; }) } } |