Fix tests

This commit is contained in:
Edwin Jakobs
2023-03-18 20:59:04 +01:00
parent 84e623c3e8
commit 23247e5044
3 changed files with 4 additions and 3 deletions

View File

@@ -18,7 +18,10 @@ kotlin {
val jvmTest by getting { val jvmTest by getting {
dependencies { dependencies {
implementation(libs.kluent) implementation(libs.kluent)
implementation(libs.spek.dsl)
runtimeOnly(libs.spek.junit5)
runtimeOnly(libs.kotlin.reflect) runtimeOnly(libs.kotlin.reflect)
} }
} }
} }

View File

@@ -56,7 +56,7 @@ object TestAnnotations : Spek({
describe("an annotated object") { describe("an annotated object") {
it("has listable parameters") { it("has listable parameters") {
val list = a.listParameters() val list = a.listParameters()
list.size `should be equal to` 12 list.size `should be equal to` 13
list[0].property?.name `should be equal to` "d" list[0].property?.name `should be equal to` "d"
list[0].parameterType `should be equal to` ParameterType.Double list[0].parameterType `should be equal to` ParameterType.Double

View File

@@ -25,8 +25,6 @@ kotlin {
val jvmTest by getting { val jvmTest by getting {
dependencies { dependencies {
implementation(libs.kluent) implementation(libs.kluent)
implementation(libs.spek.dsl)
runtimeOnly(libs.spek.junit5)
runtimeOnly(libs.kotlin.reflect) runtimeOnly(libs.kotlin.reflect)
} }
} }