Skip to content
This repository has been archived by the owner on Jun 22, 2018. It is now read-only.

Commit

Permalink
A test…
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkkrp committed Jul 22, 2017
1 parent 0451bf9 commit 470bb10
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ spec = do
it "no upper-cased chars found in slugs" $
property $ \slug ->
unSlug slug `shouldNotSatisfy` T.any isUpper

it "prove it" $
property $ \txt ->
T.toLower txt `shouldNotSatisfy` T.any isUpper

it "showed Slug looks the same as its inner Text" $
property $ \slug ->
show slug === show (unSlug slug)
Expand Down

0 comments on commit 470bb10

Please sign in to comment.