aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/model/FunctionTest.kt
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/test/kotlin/model/FunctionTest.kt')
-rw-r--r--core/src/test/kotlin/model/FunctionTest.kt5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/src/test/kotlin/model/FunctionTest.kt b/core/src/test/kotlin/model/FunctionTest.kt
index 8cf6b14a..ddd33941 100644
--- a/core/src/test/kotlin/model/FunctionTest.kt
+++ b/core/src/test/kotlin/model/FunctionTest.kt
@@ -2,10 +2,9 @@ package org.jetbrains.dokka.tests
import org.jetbrains.dokka.Content
import org.jetbrains.dokka.NodeKind
-import org.junit.Test
import org.junit.Assert.assertEquals
import org.junit.Assert.assertTrue
-import kotlin.test.assertNotNull
+import org.junit.Test
class FunctionTest {
@Test fun function() {
@@ -229,7 +228,7 @@ Documentation""", content.description.toTestString())
@Test fun sinceKotlin() {
verifyModel("testdata/functions/sinceKotlin.kt") { model ->
with(model.members.single().members.single()) {
- assertNotNull(sinceKotlin)
+ assertEquals(listOf("Kotlin 1.1"), platforms)
}
}
}