summaryrefslogtreecommitdiff
path: root/test/files/jvm/xml02.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/xml02.scala')
-rw-r--r--test/files/jvm/xml02.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/jvm/xml02.scala b/test/files/jvm/xml02.scala
index 2eabaf1fbc..ad1e95cbb0 100644
--- a/test/files/jvm/xml02.scala
+++ b/test/files/jvm/xml02.scala
@@ -39,7 +39,7 @@ object Test extends TestConsoleMain {
object DodgyNamespace extends TestCase("DodgyNamespace") with Assert {
override def runTest = {
val x = <flog xmlns:ee="http://ee.com"><foo xmlns:dog="http://dog.com"><dog:cat/></foo></flog>
- assertTrue(x.toString.contains("xmlns:dog=\"http://dog.com\""));
+ assertTrue(x.toString.matches(".*xmlns:dog=\"http://dog.com\".*"));
}
}
def suite = new TestSuite(