From 1a11aef9c3c3d79cda81bde450bfbb82da747bdb Mon Sep 17 00:00:00 2001 From: Kato Kazuyoshi Date: Sun, 12 Jun 2011 05:18:31 +0000 Subject: The '#' sign may easily to lead to problems, So... The '#' sign may easily to lead to problems, So we use '_' instead of '#'. Closes #4641. --- test/scaladoc/resources/SI_4641.scala | 3 +++ test/scaladoc/scala/html/HtmlFactoryTest.scala | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 test/scaladoc/resources/SI_4641.scala (limited to 'test/scaladoc') 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 + } + } } -- cgit v1.2.3