Skip to content

Commit

Permalink
Remove the non-existent parameter includeEmpty in KDoc of Arb.Compani…
Browse files Browse the repository at this point in the history
…on.map() (#4090)

The function
[Arb.Companion.map(...)](https://github.com/kotest/kotest/blob/master/kotest-property/src/commonMain/kotlin/io/kotest/property/arbitrary/maps.kt#L25-L30)
does not have a parameter `includeEmpty` (anymore).
  • Loading branch information
acanda committed Jun 12, 2024
1 parent e306738 commit a3465fe
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import io.kotest.property.Shrinker
* The slippage factor determines how many times we continue after retrieving a duplicate key.
* The total acceptable number of misses is the slippage factor multiplied by the target set size.
* If this value is not specified, then the default slippage value of 10 will be used.
* @param includeEmpty include empty map as edgecase or not
*/
fun <K, V> Arb.Companion.map(
arb: Arb<Pair<K, V>>,
Expand Down Expand Up @@ -73,7 +72,6 @@ fun <K, V> Arb.Companion.map(
* The slippage factor determines how many times we continue after retrieving a duplicate key.
* The total acceptable number of misses is the slippage factor multiplied by the target set size.
* If this value is not specified, then the default slippage value of 10 will be used.
* @param includeEmpty include empty map as edgecase or not
*/
fun <K, V> Arb.Companion.map(
keyArb: Arb<K>,
Expand Down

0 comments on commit a3465fe

Please sign in to comment.