blob: bbf0b4c6bc56d21c902e6a4e36a1474e77beb2ce (
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 =
checkFiles(WhitelistedStandardLib.files) { doc =>
val array = doc
.packages("scala")
.children.find(_.path.mkString(".") == "scala.Array")
.get
assert(array.comment.get.body.length > 0)
}
}
|