Skip to content

Commit

Permalink
fix compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
satorg committed Feb 7, 2023
1 parent 0523f33 commit db17865
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import cats.syntax.apply._
import cats.syntax.eq._
import cats.syntax.semigroup._
import cats.syntax.traverse._
import org.scalacheck.Arbitrary
import org.scalacheck.Prop._

class IndexedReaderWriterStateTSuite extends CatsSuite {
Expand Down Expand Up @@ -272,7 +271,7 @@ class IndexedReaderWriterStateTSuite extends CatsSuite {
log: String
) =>
val flatMap = rwst.flatMap { a =>
ReaderWriterStateT { (e, s) =>
ReaderWriterStateT { (_, s) =>
f(a).map((log, s, _))
}
}
Expand Down Expand Up @@ -523,13 +522,12 @@ object IndexedReaderWriterStateTSuite {
}

def addLogUnit(i: Int): ReaderWriterState[String, Unit, Int, Int] =
ReaderWriterState { (context, state) =>
ReaderWriterState { (_, state) =>
((), state + i, state + i)
}

implicit def IRWSTEq[F[_], E, L, SA, SB, A](implicit
SA: ExhaustiveCheck[SA],
SB: Arbitrary[SB],
E: ExhaustiveCheck[E],
FLSB: Eq[F[(L, SB, A)]],
F: Monad[F]
Expand Down

0 comments on commit db17865

Please sign in to comment.