Skip to content

Commit

Permalink
In Apply.semigroup test replace ListWrapper with Option
Browse files Browse the repository at this point in the history
  • Loading branch information
kailuowang committed May 3, 2019
1 parent 422c989 commit ea2401f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/test/scala/cats/tests/ApplicativeSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ class ApplicativeSuite extends CatsSuite {
}

{
implicit val listwrapperApply = ListWrapper.applyInstance
implicit val listwrapperSemigroup = Apply.semigroup[ListWrapper, Int]
checkAll("Apply[ListWrapper].semigroup", SemigroupTests[ListWrapper[Int]].semigroup)
val optionSemigroupFromApply = Apply.semigroup[Option, Int]
checkAll("Apply[Option].semigroup", SemigroupTests[Option[Int]](optionSemigroupFromApply).semigroup)
}

{
implicit val listwrapperApplicative = ListWrapper.applicative
implicit val listwrapperCoflatMap = Applicative.coflatMap[ListWrapper]
Expand Down

0 comments on commit ea2401f

Please sign in to comment.