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 9026c96 commit 881553e
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 881553e

Please sign in to comment.