aboutsummaryrefslogtreecommitdiff
path: root/test/src/model/FunctionTest.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-10-28 12:15:40 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-10-29 11:57:22 +0100
commit47ccfb0937fa70d727a540d3d9a0bbbc6f1bfc6d (patch)
tree51cff592a4c5d63f69e2a4328fdf9d8bce444025 /test/src/model/FunctionTest.kt
parentcdeca8f3ba28c1b974ae81ef1ae1e80b007b1111 (diff)
downloaddokka-47ccfb0937fa70d727a540d3d9a0bbbc6f1bfc6d.tar.gz
dokka-47ccfb0937fa70d727a540d3d9a0bbbc6f1bfc6d.tar.bz2
dokka-47ccfb0937fa70d727a540d3d9a0bbbc6f1bfc6d.zip
loading the JDK and the Kotlin runtime in tests is now optional
Diffstat (limited to 'test/src/model/FunctionTest.kt')
-rw-r--r--test/src/model/FunctionTest.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/model/FunctionTest.kt b/test/src/model/FunctionTest.kt
index 9a5a67b4..b185e71a 100644
--- a/test/src/model/FunctionTest.kt
+++ b/test/src/model/FunctionTest.kt
@@ -142,7 +142,7 @@ Documentation""", content.description.toTestString())
}
@Test fun annotatedFunction() {
- verifyPackageMember("test/data/functions/annotatedFunction.kt") { func ->
+ verifyPackageMember("test/data/functions/annotatedFunction.kt", withKotlinRuntime = true) { func ->
assertEquals(1, func.annotations.count())
with(func.annotations[0]) {
assertEquals("Strictfp", name)