summaryrefslogtreecommitdiff
path: root/test/scaladoc/model/CommentFactoryTest.scala
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2011-02-04 19:31:29 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2011-02-04 19:31:29 +0000
commit78914b6f23e4b4acb03ed0a6686e384b3a1d14ad (patch)
tree223e7ce1ec6bf2cfdc809e01158a5242c067c29f /test/scaladoc/model/CommentFactoryTest.scala
parent2d0e42041a7b3aedc3e2d0ccaacf87715bb3037b (diff)
downloadscala-78914b6f23e4b4acb03ed0a6686e384b3a1d14ad.tar.gz
scala-78914b6f23e4b4acb03ed0a6686e384b3a1d14ad.tar.bz2
scala-78914b6f23e4b4acb03ed0a6686e384b3a1d14ad.zip
[scaladoc] Likely fix for broken build.
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")))
)
}