diff options
author | Paul Phillips <paulp@improving.org> | 2009-05-01 17:11:56 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-05-01 17:11:56 +0000 |
commit | 8cc51cc0dce7d86a4137eb636c4e3bed1b90cf13 (patch) | |
tree | 4187c272defe068a848bfbca6e1033e7f85ca85a /test/files/run | |
parent | a020e82b2e46dd49da6bb2b8ec4f5aaded246907 (diff) | |
download | scala-8cc51cc0dce7d86a4137eb636c4e3bed1b90cf13.tar.gz scala-8cc51cc0dce7d86a4137eb636c4e3bed1b90cf13.tar.bz2 scala-8cc51cc0dce7d86a4137eb636c4e3bed1b90cf13.zip |
Fix and test case for #1773.
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/t1773.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/t1773.scala b/test/files/run/t1773.scala new file mode 100644 index 0000000000..fc24f58b61 --- /dev/null +++ b/test/files/run/t1773.scala @@ -0,0 +1,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) +}
\ No newline at end of file |