blob: e6f071704e5f2cc10feb166f8d72d15456615bb9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import scala.tools.nsc.doc.model._
import scala.tools.partest.ScaladocModelTest
object Test extends ScaladocModelTest {
override def code = """
object Foo {
/**
* Demonstrates a scala issue in which the closing link tag is duplicated
* <a href="https://link">title</a>
*/
def bar = ???
}
"""
def scaladocSettings = ""
def testModel(root: Package) = {
import access._
val thing = root._object("Foo")._method("bar")
println(thing.comment.get.short)
}
}
|