blob: 12f60f6a61cf6bab31095e8e21edce25ab730e2c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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)
}
}
|