From 6dae5aa1bb3064b7f2f31d0d71670298c40e2463 Mon Sep 17 00:00:00 2001 From: Alejandro Serrano Date: Fri, 31 Mar 2023 14:53:30 +0200 Subject: [PATCH] Comment out the tests that need Kotest 5.6.0 --- .../kotlin/arrow/core/CurryingTest.kt | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/arrow-libs/core/arrow-core/src/commonTest/kotlin/arrow/core/CurryingTest.kt b/arrow-libs/core/arrow-core/src/commonTest/kotlin/arrow/core/CurryingTest.kt index 622746b112a..cec444b9c23 100644 --- a/arrow-libs/core/arrow-core/src/commonTest/kotlin/arrow/core/CurryingTest.kt +++ b/arrow-libs/core/arrow-core/src/commonTest/kotlin/arrow/core/CurryingTest.kt @@ -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 @@ -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 } @@ -161,6 +162,8 @@ class CurryingTest : StringSpec({ } } + */ + //endregion // region uncurried @@ -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 } @@ -333,6 +338,8 @@ class CurryingTest : StringSpec({ } } + */ + // endregion // region curried effect @@ -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 } @@ -484,6 +493,8 @@ class CurryingTest : StringSpec({ } } + */ + // endregion // region uncurried effect @@ -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 } @@ -656,5 +669,7 @@ class CurryingTest : StringSpec({ } } + */ + // endregion -}) \ No newline at end of file +})