Skip to content

Commit

Permalink
fixed applicative monoid test (#2831)
Browse files Browse the repository at this point in the history
  • Loading branch information
kailuowang authored May 8, 2019
1 parent c8c407b commit 4894122
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/src/test/scala/cats/tests/ApplicativeSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ class ApplicativeSuite extends CatsSuite {
}

{
implicit val listwrapperApplicative = ListWrapper.applicative
implicit val listwrapperMonoid = Applicative.monoid[ListWrapper, Int]
checkAll("Applicative[ListWrapper].monoid", MonoidTests[ListWrapper[Int]].monoid)
implicit val optionMonoid = Applicative.monoid[Option, Int]
checkAll("Applicative[Option].monoid", MonoidTests[Option[Int]](optionMonoid).monoid)
}

{
Expand Down

0 comments on commit 4894122

Please sign in to comment.