aboutsummaryrefslogtreecommitdiff
path: root/test/src/model
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-01-09 20:59:58 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-01-09 20:59:58 +0100
commite17eaa5fbc296bab0f32e8169d50fea06a6de581 (patch)
treee8048ee2dc036209a632966daf5f948984371329 /test/src/model
parent1a4794397f3e5db8dac12d1797edd16c121de21f (diff)
downloaddokka-e17eaa5fbc296bab0f32e8169d50fea06a6de581.tar.gz
dokka-e17eaa5fbc296bab0f32e8169d50fea06a6de581.tar.bz2
dokka-e17eaa5fbc296bab0f32e8169d50fea06a6de581.zip
nice rendering for deprecated members
Diffstat (limited to 'test/src/model')
-rw-r--r--test/src/model/ClassTest.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/src/model/ClassTest.kt b/test/src/model/ClassTest.kt
index ae82a4f1..f21c5c57 100644
--- a/test/src/model/ClassTest.kt
+++ b/test/src/model/ClassTest.kt
@@ -183,8 +183,7 @@ public class ClassTest {
Test fun annotatedClassWithAnnotationParameters() {
verifyModel("test/data/classes/annotatedClassWithAnnotationParameters.kt") { model ->
with(model.members.single().members.single()) {
- assertEquals(1, annotations.count())
- with(annotations[0]) {
+ with(deprecation!!) {
assertEquals("deprecated", name)
assertEquals(Content.Empty, content)
assertEquals(DocumentationNode.Kind.Annotation, kind)