Merge pull request #8 from endgame/fix-doctests

Add doctests.hs where the cabal file expects it
This commit is contained in:
Tony Morris 2018-05-10 12:31:41 +10:00 committed by GitHub
commit 0f0c10dfb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View file

@ -1,4 +0,0 @@
module Main where
main :: IO ()
main = pure ()

10
test/doctests.hs Normal file
View file

@ -0,0 +1,10 @@
import Test.DocTest
main :: IO ()
main = doctest
[ "-isrc"
, "src/Lets/GetSetLens.hs"
, "src/Lets/Lens.hs"
, "src/Lets/OpticPolyLens.hs"
, "src/Lets/StoreLens.hs"
]