Skip to content

Commit d0d0596

Browse files
committed
Add test cases coming from the Dotty test suite
These tests will be removed from Dotty once Dotty stops depending on scala-xml, so preserve them here.
1 parent f37d71d commit d0d0596

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

shared/src/test/scala/scala/xml/XMLTest.scala

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,4 +570,14 @@ Ours is the portal of hope, come as you are."
570570
pp.format(x, sb)
571571
assertEquals(expected, sb.toString)
572572
}
573+
574+
@UnitTest
575+
def i1976: Unit = {
576+
val node = <node>{ "whatever " }</node>
577+
}
578+
579+
@UnitTest
580+
def i6547: Unit = {
581+
<foo a="hello &name; aaa"/>
582+
}
573583
}

0 commit comments

Comments
 (0)