diff options
author | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-11 19:43:00 +0400 |
---|---|---|
committer | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-11 19:43:00 +0400 |
commit | ea6da1423c3711a44952e4fc87967ac3a9e9da3e (patch) | |
tree | 0434c707faf3cd3546008f8dc710ed203726d5d2 /test/src | |
parent | 451b678c6bdff8b8242f299c600d100929a5171f (diff) | |
download | dokka-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.kt | 4 |
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()) } } |