blob: 763f41370ed65dd3ed3a9a3b57eaf86d764d7bac (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package dotty.tools
package dottydoc
import org.junit.Test
import org.junit.Assert._
class TestWhitelistedCollections extends DottyTest {
@Test def arrayHasDocumentation =
checkCompile(WhitelistedStandardLib.files) { doc =>
val array = doc
.packages("scala")
.children.find(_.path.mkString(".") == "scala.Array")
.get
assert(array.comment.get.body.length > 0)
}
}
|