diff options
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/model/JavaTest.kt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/src/model/JavaTest.kt b/test/src/model/JavaTest.kt index b0e3a133..d40b3ba3 100644 --- a/test/src/model/JavaTest.kt +++ b/test/src/model/JavaTest.kt @@ -54,4 +54,17 @@ public class JavaTest { } } } + + Test fun arrayType() { + verifyModel("test/data/java/arrayType.java") { model -> + val pkg = model.members.single() + with(pkg.members.single().members.single()) { + assertEquals("Array<String>", detail(DocumentationNode.Kind.Type).name) + with(details(DocumentationNode.Kind.Parameter).single()) { + assertEquals("Array<Int>", detail(DocumentationNode.Kind.Type).name) + } + } + } + } + } |