Skip to content

Commit

Permalink
Add support for comparing related types in assertTrue in Scala 2
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejressel committed May 23, 2024
1 parent 0f5755b commit b2e3a68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ object SmartAssertionSpec extends ZIOBaseSpec {
result <- resultZIO
} yield assertTrue(result.is(_.left).contains("type mismatch"))
} @@ scala2Only,
test("comparison compiles when comparing different types") {
test("comparison compiles when comparing different primitive types") {
val a = 1
val b = 2
val aL = 1L
Expand Down

0 comments on commit b2e3a68

Please sign in to comment.