diff options
Diffstat (limited to 'test/scaladoc')
-rw-r--r-- | test/scaladoc/model/CommentFactoryTest.scala | 11 |
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"))) ) } |