Add doctests.hs where the cabal file expects it

This commit is contained in:
Jack Kelly 2018-05-10 12:22:08 +10:00
parent 5feb02c32e
commit 79a56a16dc
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"
]