Skip to content

Commit

Permalink
Revert "Work around Dotty #8033: don't test serialization for mixed-i…
Browse files Browse the repository at this point in the history
…n instance"

This reverts commit 327f5e2.
  • Loading branch information
travisbrown committed Feb 25, 2020
1 parent 5327655 commit 6fb5ac1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions tests/src/test/scala-2.13+/cats/tests/LazyListSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ class LazyListSuite extends CatsSuite {
checkAll("Traverse[LazyList]", SerializableTests.serializable(Traverse[LazyList]))

checkAll("LazyList[Int]", TraverseFilterTests[LazyList].traverseFilter[Int, Int, Int])
checkAll("TraverseFilter[LazyList]",
SerializableTests.serializable(cats.instances.lazyList.catsStdTraverseFilterForLazyList))
checkAll("TraverseFilter[LazyList]", SerializableTests.serializable(TraverseFilter[LazyList]))

checkAll("LazyList[Int]", AlignTests[LazyList].align[Int, Int, Int, Int])
checkAll("Align[LazyList]", SerializableTests.serializable(Align[LazyList]))
Expand Down
2 changes: 1 addition & 1 deletion tests/src/test/scala/cats/tests/FunctionSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class FunctionSuite extends CatsSuite {
checkAll("Contravariant[* => Int]", SerializableTests.serializable(Contravariant[* => Int]))

checkAll("Function1", MonoidKTests[λ[α => α => α]].monoidK[MiniInt])
checkAll("MonoidK[λ[α => α => α]", SerializableTests.serializable(cats.instances.function.catsStdMonoidKForFunction1))
checkAll("MonoidK[λ[α => α => α]", SerializableTests.serializable(catsStdMonoidKForFunction1))

checkAll("Function1[MiniInt, *]",
DistributiveTests[MiniInt => *].distributive[Int, Int, Int, Id, Function1[MiniInt, *]])
Expand Down

0 comments on commit 6fb5ac1

Please sign in to comment.