Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@hderms
Created June 26, 2019 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hderms/dfffe092be24ebd7074b2c4ae6435c86 to your computer and use it in GitHub Desktop.
Save hderms/dfffe092be24ebd7074b2c4ae6435c86 to your computer and use it in GitHub Desktop.
diverging implicit expansion for type org.scalacheck.Arbitrary[eu.timepit.refined.types.numeric.NonNegInt]
[error] starting with method arbTuple2 in trait ArbitraryArities
package domain
import org.scalatest.prop.PropertyChecks
import org.scalatest.{FlatSpec, Matchers}
import eu.timepit.refined.api.Refined
import eu.timepit.refined.numeric.NonNegative
import eu.timepit.refined.types.numeric.NonNegInt
import eu.timepit.refined.scalacheck._
import org.scalacheck._
import enumeratum.scalacheck._
class ScalacheckExample extends FlatSpec with Matchers with PropertyChecks {
behavior of "Example"
forAll { (reportSuccess: Boolean, anyTimeLapsed: NonNegInt) =>
true shouldBe true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment