Skip to content

Commit

Permalink
Resolve compilation errors/warnings after Scala bump
Browse files Browse the repository at this point in the history
  • Loading branch information
davidainslie committed May 30, 2024
1 parent 2ed691c commit 2d6a24b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,12 +334,12 @@ class IdMonadTransformerDisjunctionSuite extends ScalaCheckSuite {

assertEquals(
for {
x <- IdT.lift(10.right[String])
y <- IdT.lift(11.right[String])
z <- IdT.lift(12.right[String])
x <- IdT.lift[Disjunction[String, *], Int](10.right[String])
y <- IdT.lift[Disjunction[String, *], Int](11.right[String])
z <- IdT.lift[Disjunction[String, *], Int](12.right[String])
_ <- IdT(0.right[String].map(Id.apply)) // Without "lift"
} yield x + y + z,
IdT(Id(33).right)
IdT[Disjunction[String, *], Int](Id(33).right)
)

assertEquals(
Expand Down

0 comments on commit 2d6a24b

Please sign in to comment.