Skip to content

Commit 11440a3

Browse files
committed
fix compiler warnings
1 parent f2079aa commit 11440a3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: tests/shared/src/test/scala/cats/tests/IndexedReaderWriterStateTSuite.scala

+2-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ import cats.syntax.apply._
3939
import cats.syntax.eq._
4040
import cats.syntax.semigroup._
4141
import cats.syntax.traverse._
42-
import org.scalacheck.Arbitrary
4342
import org.scalacheck.Prop._
4443

4544
class IndexedReaderWriterStateTSuite extends CatsSuite {
@@ -272,7 +271,7 @@ class IndexedReaderWriterStateTSuite extends CatsSuite {
272271
log: String
273272
) =>
274273
val flatMap = rwst.flatMap { a =>
275-
ReaderWriterStateT { (e, s) =>
274+
ReaderWriterStateT { (_, s) =>
276275
f(a).map((log, s, _))
277276
}
278277
}
@@ -523,13 +522,12 @@ object IndexedReaderWriterStateTSuite {
523522
}
524523

525524
def addLogUnit(i: Int): ReaderWriterState[String, Unit, Int, Int] =
526-
ReaderWriterState { (context, state) =>
525+
ReaderWriterState { (_, state) =>
527526
((), state + i, state + i)
528527
}
529528

530529
implicit def IRWSTEq[F[_], E, L, SA, SB, A](implicit
531530
SA: ExhaustiveCheck[SA],
532-
SB: Arbitrary[SB],
533531
E: ExhaustiveCheck[E],
534532
FLSB: Eq[F[(L, SB, A)]],
535533
F: Monad[F]

0 commit comments

Comments
 (0)