Skip to content

Commit

Permalink
Serializables, removed import
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundnoble committed Jul 7, 2017
1 parent 4a02dee commit 6da44b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/src/test/scala/cats/tests/EitherTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class EitherTests extends CatsSuite {
implicit val iso = CartesianTests.Isomorphisms.invariant[Either[Int, ?]]

checkAll("Either[String, Int]", GroupLaws[Either[String, Int]].monoid)
checkAll("Semigroup[Either[String, Int]]", SerializableTests.serializable(Semigroup[Either[String, Int]]))
checkAll("Monoid[Either[String, Int]]", SerializableTests.serializable(Monoid[Either[String, Int]]))

checkAll("Either[Int, Int]", CartesianTests[Either[Int, ?]].cartesian[Int, Int, Int])
checkAll("Cartesian[Either[Int, ?]]", SerializableTests.serializable(Cartesian[Either[Int, ?]]))
Expand Down
1 change: 0 additions & 1 deletion tests/src/test/scala/cats/tests/IdTTests.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package cats
package tests

import cats.{Foldable, Functor, Monad, NonEmptyTraverse, Traverse}
import cats.data.{IdT, NonEmptyList}
import cats.kernel.laws.OrderLaws
import cats.laws.discipline._
Expand Down
2 changes: 2 additions & 0 deletions tests/src/test/scala/cats/tests/WriterTTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ class WriterTTests extends CatsSuite {

Monoid[WriterT[ListWrapper, Int, Int]]
checkAll("WriterT[ListWrapper, Int, Int]", kernel.laws.GroupLaws[WriterT[ListWrapper, Int, Int]].monoid)
checkAll("Monoid[WriterT[ListWrapper, Int, Int]]", SerializableTests.serializable(Monoid[WriterT[ListWrapper, Int, Int]]))

Monoid[Writer[Int, Int]]
checkAll("Writer[Int, Int]", kernel.laws.GroupLaws[Writer[Int, Int]].monoid)
Expand All @@ -347,6 +348,7 @@ class WriterTTests extends CatsSuite {

Semigroup[WriterT[ListWrapper, Int, Int]]
checkAll("WriterT[ListWrapper, Int, Int]", kernel.laws.GroupLaws[WriterT[ListWrapper, Int, Int]].semigroup)
checkAll("Semigroup[WriterT[ListWrapper, Int, Int]]", SerializableTests.serializable(Semigroup[WriterT[ListWrapper, Int, Int]]))

Semigroup[Writer[Int, Int]]
checkAll("Writer[Int, Int]", kernel.laws.GroupLaws[Writer[Int, Int]].semigroup)
Expand Down

0 comments on commit 6da44b9

Please sign in to comment.