Skip to content

Commit

Permalink
Comment out the tests that need Kotest 5.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
serras committed Mar 31, 2023
1 parent b8b6806 commit 6dae5aa
Showing 1 changed file with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package arrow.core
import io.kotest.core.spec.style.StringSpec
import io.kotest.matchers.shouldBe
import io.kotest.property.Arb
import io.kotest.property.PropTestConfig
import io.kotest.property.arbitrary.string
import io.kotest.property.checkAll

Expand Down Expand Up @@ -91,6 +90,8 @@ class CurryingTest : StringSpec({
}
}

/* Waiting for Kotest 5.6.0 to be released
"A 13-arity curried function returns the same result as the function before being curried" {
checkAll(PropTestConfig(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb()) { a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13 ->
val add = { p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String, p8: String, p9: String, p10: String, p11: String, p12: String, p13: String -> p1 + p2 + p3 + p4 + p5 + p6 + p7 + p8 + p9 + p10 + p11 + p12 + p13 }
Expand Down Expand Up @@ -161,6 +162,8 @@ class CurryingTest : StringSpec({
}
}
*/

//endregion

// region uncurried
Expand Down Expand Up @@ -253,6 +256,8 @@ class CurryingTest : StringSpec({
}
}

/* Waiting for Kotest 5.6.0 to be released
"A 13-arity curried function returns the same result as the function after being uncurried" {
checkAll(PropTestConfig(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb()) { a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13 ->
val add = { p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String, p8: String, p9: String, p10: String, p11: String, p12: String, p13: String-> p1 + p2 + p3 + p4 + p5 + p6 + p7 + p8 + p9 + p10 + p11 + p12 + p13 }
Expand Down Expand Up @@ -333,6 +338,8 @@ class CurryingTest : StringSpec({
}
}
*/

// endregion

// region curried effect
Expand Down Expand Up @@ -414,6 +421,8 @@ class CurryingTest : StringSpec({
}
}

/* Waiting for Kotest 5.6.0 to be released
"A 13-arity curried effect returns the same result as the effect before being curried" {
checkAll(PropTestConfig(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb()) { a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13 ->
val add: suspend (String, String, String, String, String, String, String, String, String, String, String, String, String) -> String = { p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13 -> p1 + p2 + p3 + p4 + p5 + p6 + p7 + p8 + p9 + p10 + p11 + p12 + p13 }
Expand Down Expand Up @@ -484,6 +493,8 @@ class CurryingTest : StringSpec({
}
}
*/

// endregion

// region uncurried effect
Expand Down Expand Up @@ -576,6 +587,8 @@ class CurryingTest : StringSpec({
}
}

/* Waiting for Kotest 5.6.0 to be released
"A 13-arity curried effect returns the same result as the effect after being uncurried" {
checkAll(PropTestConfig(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb(), arb()) { a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13 ->
val add: suspend (String, String, String, String, String, String, String, String, String, String, String, String, String) -> String = { p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13 -> p1 + p2 + p3 + p4 + p5 + p6 + p7 + p8 + p9 + p10 + p11 + p12 + p13 }
Expand Down Expand Up @@ -656,5 +669,7 @@ class CurryingTest : StringSpec({
}
}
*/

// endregion
})
})

0 comments on commit 6dae5aa

Please sign in to comment.