aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-29 15:28:39 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-29 15:28:39 +0300
commitf3dd7eb1d36913920e431c88a633cf5c5e098820 (patch)
treeef86ef39b956ba5bb82bc40cbf81190ff6522284 /core/src/test/kotlin
parent5ab32ba0dd61585459bb32bb31fe7b19493c980e (diff)
downloaddokka-f3dd7eb1d36913920e431c88a633cf5c5e098820.tar.gz
dokka-f3dd7eb1d36913920e431c88a633cf5c5e098820.tar.bz2
dokka-f3dd7eb1d36913920e431c88a633cf5c5e098820.zip
Post-review fixes, removed code duplication, fixed @throws support
Diffstat (limited to 'core/src/test/kotlin')
-rw-r--r--core/src/test/kotlin/javadoc/JavadocTest.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/test/kotlin/javadoc/JavadocTest.kt b/core/src/test/kotlin/javadoc/JavadocTest.kt
index f60c49fd..f7f86881 100644
--- a/core/src/test/kotlin/javadoc/JavadocTest.kt
+++ b/core/src/test/kotlin/javadoc/JavadocTest.kt
@@ -128,6 +128,7 @@ class JavadocTest {
val method = doc.classNamed("KdocKeywordsOnMethodKt")!!.methods()[0]
assertEquals("@return [ContentText(text=value of a)]", method.tags("return").first().text())
assertEquals("@param a [ContentText(text=Some string)]", method.paramTags().first().text())
+ assertEquals("@throws FireException [ContentText(text=in case of fire)]", method.throwsTags().first().text())
}
}