diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2014-09-02 16:52:24 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2014-09-02 16:52:24 +0200 |
commit | 91c4192c39d2bdebf37a97e41d374a39ece8af85 (patch) | |
tree | e732aa1f0b6b6d65c21e91b40298f722200593f7 /test/scaladoc/run | |
parent | 0f683b85488185f87a44a11f25edd2bf0f5a1b73 (diff) | |
parent | 1bbfd6b45b178986bfd26831689f8aa8393ae8a6 (diff) | |
download | scala-91c4192c39d2bdebf37a97e41d374a39ece8af85.tar.gz scala-91c4192c39d2bdebf37a97e41d374a39ece8af85.tar.bz2 scala-91c4192c39d2bdebf37a97e41d374a39ece8af85.zip |
Merge branch 'merge/2.10-to-2.11-sept-2' into merge/2.11-to-2.12-is-it-really-sept-2-already-where-was-summer
Conflicts:
versions.properties
Diffstat (limited to 'test/scaladoc/run')
-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 + } +} |