diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2016-11-29 15:28:39 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2016-11-29 15:28:39 +0300 |
commit | f3dd7eb1d36913920e431c88a633cf5c5e098820 (patch) | |
tree | ef86ef39b956ba5bb82bc40cbf81190ff6522284 /core/src/test/kotlin | |
parent | 5ab32ba0dd61585459bb32bb31fe7b19493c980e (diff) | |
download | dokka-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.kt | 1 |
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()) } } |