aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2019-03-27 15:50:20 +0100
committerKamil Doległo <kamilok1965@interia.pl>2019-03-27 15:50:20 +0100
commit519daf04adedecd7a938f33d2e6f5bc85758b5c0 (patch)
tree3df6b8f2b094d956afe71db3fcd24360e55b91af /core/src/test/kotlin
parente11997d45706d9ab2a0db0355b70f3b624b32113 (diff)
downloaddokka-519daf04adedecd7a938f33d2e6f5bc85758b5c0.tar.gz
dokka-519daf04adedecd7a938f33d2e6f5bc85758b5c0.tar.bz2
dokka-519daf04adedecd7a938f33d2e6f5bc85758b5c0.zip
Fix some "sinceKotlin" unit tests
Diffstat (limited to 'core/src/test/kotlin')
-rw-r--r--core/src/test/kotlin/model/ClassTest.kt2
-rw-r--r--core/src/test/kotlin/model/FunctionTest.kt2
-rw-r--r--core/src/test/kotlin/model/PropertyTest.kt2
-rw-r--r--core/src/test/kotlin/model/TypeAliasTest.kt2
4 files changed, 4 insertions, 4 deletions
diff --git a/core/src/test/kotlin/model/ClassTest.kt b/core/src/test/kotlin/model/ClassTest.kt
index b8e58a62..35ec1d09 100644
--- a/core/src/test/kotlin/model/ClassTest.kt
+++ b/core/src/test/kotlin/model/ClassTest.kt
@@ -250,7 +250,7 @@ abstract class BaseClassTest(val analysisPlatform: Platform) {
@Test fun sinceKotlin() {
checkSourceExistsAndVerifyModel("testdata/classes/sinceKotlin.kt", defaultModelConfig) { model ->
with(model.members.single().members.single()) {
- assertEquals(listOf("Kotlin 1.1"), platforms)
+ assertEquals("1.1", sinceKotlin)
}
}
}
diff --git a/core/src/test/kotlin/model/FunctionTest.kt b/core/src/test/kotlin/model/FunctionTest.kt
index 2a60751d..4c6bfb74 100644
--- a/core/src/test/kotlin/model/FunctionTest.kt
+++ b/core/src/test/kotlin/model/FunctionTest.kt
@@ -252,7 +252,7 @@ Documentation""", content.description.toTestString())
@Test fun sinceKotlin() {
checkSourceExistsAndVerifyModel("testdata/functions/sinceKotlin.kt", defaultModelConfig) { model ->
with(model.members.single().members.single()) {
- assertEquals(listOf("Kotlin 1.1"), platforms)
+ assertEquals("1.1", sinceKotlin)
}
}
}
diff --git a/core/src/test/kotlin/model/PropertyTest.kt b/core/src/test/kotlin/model/PropertyTest.kt
index b3481265..9f070862 100644
--- a/core/src/test/kotlin/model/PropertyTest.kt
+++ b/core/src/test/kotlin/model/PropertyTest.kt
@@ -95,7 +95,7 @@ abstract class BasePropertyTest(val analysisPlatform: Platform) {
@Test fun sinceKotlin() {
checkSourceExistsAndVerifyModel("testdata/properties/sinceKotlin.kt", defaultModelConfig) { model ->
with(model.members.single().members.single()) {
- assertEquals(listOf("Kotlin 1.1"), platforms)
+ assertEquals("1.1", sinceKotlin)
}
}
}
diff --git a/core/src/test/kotlin/model/TypeAliasTest.kt b/core/src/test/kotlin/model/TypeAliasTest.kt
index a011b44f..71976dc3 100644
--- a/core/src/test/kotlin/model/TypeAliasTest.kt
+++ b/core/src/test/kotlin/model/TypeAliasTest.kt
@@ -125,7 +125,7 @@ class TypeAliasTest {
fun sinceKotlin() {
checkSourceExistsAndVerifyModel("testdata/typealias/sinceKotlin.kt") { model ->
with(model.members.single().members.single()) {
- assertEquals(listOf("Kotlin 1.1"), platforms)
+ assertEquals("1.1", sinceKotlin)
}
}
}