Add doctests.hs where the cabal file expects it
This commit is contained in:
parent
5feb02c32e
commit
79a56a16dc
2 changed files with 10 additions and 4 deletions
|
@ -1,4 +0,0 @@
|
|||
module Main where
|
||||
|
||||
main :: IO ()
|
||||
main = pure ()
|
10
test/doctests.hs
Normal file
10
test/doctests.hs
Normal 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"
|
||||
]
|
Loading…
Reference in a new issue