Skip to content

Commit

Permalink
Yet another type description form for scala3
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-klass committed Mar 11, 2023
1 parent ec8bc84 commit a11c96a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,15 @@ class RefTypeConfigConvertSpec extends Properties("RefTypeConfigConvert") {
val expected3 = expectedFailure(
"eu.timepit.refined.api.Refined[scala.Int, eu.timepit.refined.numeric.Greater[shapeless.nat._0]]"
)
val expected4 = expectedFailure(
"eu.timepit.refined.api.Refined$package.Refined[scala.Int, eu.timepit.refined.numeric.Greater[shapeless.nat._0]"
)

val actual = loadConfigWithValue("0")
(actual ?= expected1) ||
(actual ?= expected2) ||
(actual ?= expected3)
(actual ?= expected3) ||
(actual ?= expected4)
}

property("load failure (wrong type)") = secure {
Expand Down

0 comments on commit a11c96a

Please sign in to comment.