diff options
Diffstat (limited to 'test/scaladoc')
-rw-r--r-- | test/scaladoc/resources/Trac4180.scala | 4 | ||||
-rw-r--r-- | test/scaladoc/scala/html/HtmlFactoryTest.scala | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test/scaladoc/resources/Trac4180.scala b/test/scaladoc/resources/Trac4180.scala new file mode 100644 index 0000000000..645f3cee74 --- /dev/null +++ b/test/scaladoc/resources/Trac4180.scala @@ -0,0 +1,4 @@ +trait Test { + type A + object A +} diff --git a/test/scaladoc/scala/html/HtmlFactoryTest.scala b/test/scaladoc/scala/html/HtmlFactoryTest.scala index da77aed7da..bc4c51a0b7 100644 --- a/test/scaladoc/scala/html/HtmlFactoryTest.scala +++ b/test/scaladoc/scala/html/HtmlFactoryTest.scala @@ -144,4 +144,9 @@ object Test extends Properties("HtmlFactory") { case _ => false } } + + property("Trac #4180") = { + val files = createTemplates("Trac4180.scala") + files("Test.html") != None + } } |