From 37cdf8993e53f368fb11fceda3ffa5999401c645 Mon Sep 17 00:00:00 2001 From: peterz Date: Fri, 29 Jan 2016 11:37:53 +0300 Subject: SI-9599 Multiple @todo formatted with comma on separate line --- test/scaladoc/resources/SI-9599.scala | 6 ++++++ test/scaladoc/scalacheck/HtmlFactoryTest.scala | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 test/scaladoc/resources/SI-9599.scala (limited to 'test/scaladoc') diff --git a/test/scaladoc/resources/SI-9599.scala b/test/scaladoc/resources/SI-9599.scala new file mode 100644 index 0000000000..9365243ffb --- /dev/null +++ b/test/scaladoc/resources/SI-9599.scala @@ -0,0 +1,6 @@ +/** + * @todo todo1 + * @todo todo2 + * @todo todo3 + */ +class X diff --git a/test/scaladoc/scalacheck/HtmlFactoryTest.scala b/test/scaladoc/scalacheck/HtmlFactoryTest.scala index 913667b79b..f0f106b293 100644 --- a/test/scaladoc/scalacheck/HtmlFactoryTest.scala +++ b/test/scaladoc/scalacheck/HtmlFactoryTest.scala @@ -819,4 +819,11 @@ object Test extends Properties("HtmlFactory") { } } + + property("SI-9599 Multiple @todo formatted with comma on separate line") = { + createTemplates("SI-9599.scala")("X.html") match { + case node: scala.xml.Node => node.text.contains("todo3todo2todo1") + case _ => false + } + } } -- cgit v1.2.3