aboutsummaryrefslogtreecommitdiff
path: root/test/src
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-11 19:43:00 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-11 19:43:00 +0400
commitea6da1423c3711a44952e4fc87967ac3a9e9da3e (patch)
tree0434c707faf3cd3546008f8dc710ed203726d5d2 /test/src
parent451b678c6bdff8b8242f299c600d100929a5171f (diff)
downloaddokka-ea6da1423c3711a44952e4fc87967ac3a9e9da3e.tar.gz
dokka-ea6da1423c3711a44952e4fc87967ac3a9e9da3e.tar.bz2
dokka-ea6da1423c3711a44952e4fc87967ac3a9e9da3e.zip
Update test to relevant data and fix retrieval of real (not synthetic) members.
Diffstat (limited to 'test/src')
-rw-r--r--test/src/ClassTest.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/src/ClassTest.kt b/test/src/ClassTest.kt
index 914df53b..be9a29b1 100644
--- a/test/src/ClassTest.kt
+++ b/test/src/ClassTest.kt
@@ -36,7 +36,9 @@ public class ClassTest {
assertEquals("Klass", item.name)
assertEquals("", item.doc)
assertTrue(item.details.none())
- assertEquals("<init>", item.members.single().name)
+ assertEquals(2, item.members.count())
+ assertEquals("<init>", item.members.elementAt(0).name)
+ assertEquals("fn", item.members.elementAt(1).name)
assertTrue(item.links.none())
}
}