summaryrefslogtreecommitdiff
path: root/test/scaladoc
diff options
context:
space:
mode:
Diffstat (limited to 'test/scaladoc')
-rw-r--r--test/scaladoc/resources/SI_4641.scala3
-rw-r--r--test/scaladoc/scala/html/HtmlFactoryTest.scala7
2 files changed, 10 insertions, 0 deletions
diff --git a/test/scaladoc/resources/SI_4641.scala b/test/scaladoc/resources/SI_4641.scala
new file mode 100644
index 0000000000..a5557a78d9
--- /dev/null
+++ b/test/scaladoc/resources/SI_4641.scala
@@ -0,0 +1,3 @@
+object Foo {
+ def ### = 123
+}
diff --git a/test/scaladoc/scala/html/HtmlFactoryTest.scala b/test/scaladoc/scala/html/HtmlFactoryTest.scala
index cb31df3fb2..c85429e353 100644
--- a/test/scaladoc/scala/html/HtmlFactoryTest.scala
+++ b/test/scaladoc/scala/html/HtmlFactoryTest.scala
@@ -306,4 +306,11 @@ object Test extends Properties("HtmlFactory") {
case _ => false
}
}
+
+ property("SI-4641") = {
+ createReferenceIndex("SI_4641.scala") match {
+ case Some(pages) => pages.contains("index/index-_.html")
+ case _ => false
+ }
+ }
}