Skip to content

Commit

Permalink
Fix lawtesting docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Luka Jacobowitz committed Sep 28, 2017
1 parent f81d7b2 commit 5073a95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/tut/typeclasses/lawtesting.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ Then we can again test the instance inside our class extending `CatsSuite`:

```tut:book
import cats.laws.discipline.FunctorTests
import cats.kernel.laws.discipline.SemigroupTests
import cats.kernel.laws.discipline.SemigroupLawTests
class TreeLawTests extends CatsSuite {
checkAll("Tree[Int].SemigroupLaws", SemigroupTests[Tree[Int]].semigroup)
checkAll("Tree[Int].SemigroupLaws", SemigroupLawTests[Tree[Int]].semigroup)
checkAll("Tree.FunctorLaws", FunctorTests[Tree].functor[Int, Int, String])
}
```

0 comments on commit 5073a95

Please sign in to comment.