diff options
author | peterz <peterz@rambler.ru> | 2016-01-29 11:37:53 +0300 |
---|---|---|
committer | peterz <peterz@rambler.ru> | 2016-01-29 11:37:53 +0300 |
commit | 37cdf8993e53f368fb11fceda3ffa5999401c645 (patch) | |
tree | 9d91cd4600803771f4a509b1e49afb475ecb8f61 /test | |
parent | ddd83de2bc44471353e34d20fae037cc88267838 (diff) | |
download | scala-37cdf8993e53f368fb11fceda3ffa5999401c645.tar.gz scala-37cdf8993e53f368fb11fceda3ffa5999401c645.tar.bz2 scala-37cdf8993e53f368fb11fceda3ffa5999401c645.zip |
SI-9599 Multiple @todo formatted with comma on separate line
Diffstat (limited to 'test')
-rw-r--r-- | test/scaladoc/resources/SI-9599.scala | 6 | ||||
-rw-r--r-- | test/scaladoc/scalacheck/HtmlFactoryTest.scala | 7 |
2 files changed, 13 insertions, 0 deletions
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 + } + } } |