summaryrefslogtreecommitdiff
path: root/test/scaladoc/scala/html/HtmlFactoryTest.scala
diff options
context:
space:
mode:
authorKato Kazuyoshi <kato.kazuyoshi@gmail.com>2011-04-04 16:19:32 +0000
committerKato Kazuyoshi <kato.kazuyoshi@gmail.com>2011-04-04 16:19:32 +0000
commit557a0ebd03e224f3773c78eddf9cbd059bce924a (patch)
treea92c962379153c932982490d23ba784310990713 /test/scaladoc/scala/html/HtmlFactoryTest.scala
parent00b0be49a80299e864d2222c79ec45b99038a195 (diff)
downloadscala-557a0ebd03e224f3773c78eddf9cbd059bce924a.tar.gz
scala-557a0ebd03e224f3773c78eddf9cbd059bce924a.tar.bz2
scala-557a0ebd03e224f3773c78eddf9cbd059bce924a.zip
Every tag element (even @define and @usecase) e...
Every tag element (even @define and @usecase) end before the next recognised tag. Closes #4409. Review by extempore.
Diffstat (limited to 'test/scaladoc/scala/html/HtmlFactoryTest.scala')
-rw-r--r--test/scaladoc/scala/html/HtmlFactoryTest.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/scaladoc/scala/html/HtmlFactoryTest.scala b/test/scaladoc/scala/html/HtmlFactoryTest.scala
index c0cd55a7e7..6b599693da 100644
--- a/test/scaladoc/scala/html/HtmlFactoryTest.scala
+++ b/test/scaladoc/scala/html/HtmlFactoryTest.scala
@@ -257,4 +257,13 @@ object Test extends Properties("HtmlFactory") {
case _ => false
}
}
+
+ property("Trac #4409") = {
+ createTemplate("Trac4409.scala") match {
+ case node: scala.xml.Node => {
+ ! node.toString.contains("""<div class="block"><ol>since""")
+ }
+ case _ => false
+ }
+ }
}