Skip to content

Commit

Permalink
Fix Alternative law checking for IndexedStateT (#1906)
Browse files Browse the repository at this point in the history
  • Loading branch information
iravid authored and kailuowang committed Sep 12, 2017
1 parent 79d154d commit d97fd89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/test/scala/cats/tests/IndexedStateTTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ class IndexedStateTTests extends CatsSuite {
implicit val F = ListWrapper.alternative
val SA = IndexedStateT.catsDataAlternativeForIndexedStateT[ListWrapper, Int](ListWrapper.monad, ListWrapper.alternative)

checkAll("IndexedStateT[ListWrapper, Int, Int, Int]", AlternativeTests[IndexedStateT[ListWrapper, Int, Int, ?]](SA).monoidK[Int])
checkAll("IndexedStateT[ListWrapper, Int, Int, Int]", AlternativeTests[IndexedStateT[ListWrapper, Int, Int, ?]](SA).alternative[Int, Int, Int])
checkAll("Alternative[IndexedStateT[ListWrapper, Int, Int, ?]]", SerializableTests.serializable(SA))

Monad[IndexedStateT[ListWrapper, Int, Int, ?]]
Expand Down

0 comments on commit d97fd89

Please sign in to comment.