diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2014-09-02 15:32:14 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2014-09-02 15:32:14 +0200 |
commit | 3f69314c0fec82e8255a2576db5de8ba7528bb86 (patch) | |
tree | 8f6d6a8dd6217565f8fa8dbe432c96a0acb58d31 /test | |
parent | c66b88636149e950983d302cc035fc40d5ed14bf (diff) | |
parent | b5759efa364791a6b66865b05538549078f97aa1 (diff) | |
download | scala-3f69314c0fec82e8255a2576db5de8ba7528bb86.tar.gz scala-3f69314c0fec82e8255a2576db5de8ba7528bb86.tar.bz2 scala-3f69314c0fec82e8255a2576db5de8ba7528bb86.zip |
Merge commit 'b5759ef' into merge/2.10-to-2.11-sept-2
Diffstat (limited to 'test')
-rw-r--r-- | test/scaladoc/run/t8314.check | 3 | ||||
-rw-r--r-- | test/scaladoc/run/t8314.scala | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/test/scaladoc/run/t8314.check b/test/scaladoc/run/t8314.check new file mode 100644 index 0000000000..aa04c12c8f --- /dev/null +++ b/test/scaladoc/run/t8314.check @@ -0,0 +1,3 @@ +Body(List(Paragraph(Chain(List(Summary(Chain(List(Text(This should be ), Monospace(Text(monospaced)))))))))) + +Done. diff --git a/test/scaladoc/run/t8314.scala b/test/scaladoc/run/t8314.scala new file mode 100644 index 0000000000..7f6d6fdb00 --- /dev/null +++ b/test/scaladoc/run/t8314.scala @@ -0,0 +1,16 @@ +import scala.tools.nsc.doc.model._ +import scala.tools.partest.ScaladocModelTest + +object Test extends ScaladocModelTest { + override def code = """ + /** This should be `monospaced` */ + class A + """ + + def scaladocSettings = "" + + def testModel(root: Package) = { + import access._ + root._class("A").comment foreach println + } +} |