blob: 81c6005f86fb751afcfb86fba30ec71dc5c38e43 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
object Test extends Application
{
val xs = List(
<a></a>,
<a/>,
<a>{ xml.NodeSeq.Empty }</a>,
<a>{""}</a>,
<a>{ if (true) "" else "I like turtles" }</a>
)
for (x1 <- xs; x2 <- xs) assert (x1 == x2)
}
|