aboutsummaryrefslogtreecommitdiff
path: root/test/src/model/PropertyTest.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-01-14 14:00:55 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-01-14 14:00:55 +0100
commitfaad901ed29f802d7b304c06ae62954b149960e7 (patch)
tree6af5015bf1d03fc051678e58bfb81580bd9bcc68 /test/src/model/PropertyTest.kt
parentcd21e1fea43c0b7fa8013e3db7f49fe2b600b7f8 (diff)
downloaddokka-faad901ed29f802d7b304c06ae62954b149960e7.tar.gz
dokka-faad901ed29f802d7b304c06ae62954b149960e7.tar.bz2
dokka-faad901ed29f802d7b304c06ae62954b149960e7.zip
correcty distinguish 'val' and 'var' properties
Diffstat (limited to 'test/src/model/PropertyTest.kt')
-rw-r--r--test/src/model/PropertyTest.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/src/model/PropertyTest.kt b/test/src/model/PropertyTest.kt
index 14c43f78..d6de84bb 100644
--- a/test/src/model/PropertyTest.kt
+++ b/test/src/model/PropertyTest.kt
@@ -57,11 +57,12 @@ public class PropertyTest {
assertEquals("property", name)
assertEquals(DocumentationNode.Kind.Property, kind)
assertEquals(Content.Empty, content)
- assertEquals(3, details.count())
+ assertEquals(4, details.count())
assertEquals("String", detail(DocumentationNode.Kind.Type).name)
val modifiers = details(DocumentationNode.Kind.Modifier).map { it.name }
assertTrue("final" in modifiers)
assertTrue("internal" in modifiers)
+ assertTrue("var" in modifiers)
assertTrue(links.none())
assertEquals(2, members.count())