aboutsummaryrefslogtreecommitdiff
path: root/test/src/model/JavaTest.kt
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/model/JavaTest.kt')
-rw-r--r--test/src/model/JavaTest.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/src/model/JavaTest.kt b/test/src/model/JavaTest.kt
index ab417036..fcfae21a 100644
--- a/test/src/model/JavaTest.kt
+++ b/test/src/model/JavaTest.kt
@@ -85,4 +85,11 @@ public class JavaTest {
}
}
}
+
+ Test fun innerClass() {
+ verifyPackageMember("test/data/java/innerClass.java") { cls ->
+ val innerClass = cls.members(DocumentationNode.Kind.Class).single()
+ assertEquals("D", innerClass.name)
+ }
+ }
}