diff options
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()) } } |