summaryrefslogtreecommitdiff
path: root/test/scaladoc/model/CommentFactoryTest.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/scaladoc/model/CommentFactoryTest.scala')
-rw-r--r--test/scaladoc/model/CommentFactoryTest.scala11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/scaladoc/model/CommentFactoryTest.scala b/test/scaladoc/model/CommentFactoryTest.scala
index 5a30b65078..204baaa05b 100644
--- a/test/scaladoc/model/CommentFactoryTest.scala
+++ b/test/scaladoc/model/CommentFactoryTest.scala
@@ -56,14 +56,21 @@ object Test extends Properties("CommentFactory") {
"""
/** One `two`
* three */""",
- Chain(List(Text("One "), Monospace("two"), Text("\nthree")))
+ Chain(List(Text("One "), Monospace("two"), Text("\n"), Text("three")))
)
property("parse") = parse(
"""
/** One `two`
* three */""",
- Chain(List(Text("One "), Monospace("two"), Text("\n three")))
+ Chain(List(Text("One "), Monospace("two"), Text("\n"), Text(" three")))
+ )
+
+ property("parse") = parse(
+ """
+/** One
+ * `two` three */""",
+ Chain(List(Text("One"), Text("\n"), Monospace("two"), Text(" three")))
)
}