Skip to content

Update kotlintest to version 3.3.1#1338

Merged
jrgonzalezg merged 9 commits intoarrow-kt:masterfrom
LordRaydenMK:stojan_update_kotlintest
Mar 12, 2019
Merged

Update kotlintest to version 3.3.1#1338
jrgonzalezg merged 9 commits intoarrow-kt:masterfrom
LordRaydenMK:stojan_update_kotlintest

Conversation

@LordRaydenMK
Copy link
Contributor

@LordRaydenMK LordRaydenMK commented Mar 8, 2019

Law updated because the function has to be suspended.

NumberMonoid updated because nesting is not supported and I had to create some generators.

Moore updated because the default toString implementation breaks kotlin-reflect.

Fixes #1330

thanks @pakoito for the help 😄

@pakoito
Copy link
Member

pakoito commented Mar 8, 2019

The build pauses after

arrow.extensions.NumberMonoidTest > should semigroup with the instance passed - int PASSED
arrow.extensions.NumberMonoidTest > should semigroup with the instance passed - float PASSED
arrow.extensions.NumberMonoidTest > should semigroup with the instance passed - double PASSED
arrow.extensions.NumberMonoidTest > should semigroup with the instance passed - long PASSED
arrow.extensions.NumberMonoidTest > should semigroup with the instance passed - short PASSED

Law updated because the function has to be suspended

NumberMonoid updated because nesting is not supported and I had to create some generators

Moore updated because the default toString implementation breaks kotlin-reflect
@LordRaydenMK LordRaydenMK force-pushed the stojan_update_kotlintest branch from 586a098 to 6785291 Compare March 8, 2019 19:14
Gen.choose(Short.MIN_VALUE.toInt(), Short.MAX_VALUE.toInt()).map { it.toShort() }

fun Gen.Companion.byte(): Gen<Byte> =
Gen.int().filter { it >= Byte.MIN_VALUE && it <= Byte.MAX_VALUE }.map { it.toByte() }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jrgonzalezg jrgonzalezg merged commit e6fa71c into arrow-kt:master Mar 12, 2019
@raulraja raulraja mentioned this pull request Sep 10, 2019
@LordRaydenMK LordRaydenMK deleted the stojan_update_kotlintest branch October 9, 2019 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants