Fix tests
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user