mirror of
https://github.com/qfpl/applied-fp-course.git
synced 2024-12-02 08:53:20 +03:00
59a516d481
Added doctests and a shout out to what is going on with "$$tablename$$" in the ``withTable`` function. Updated the level04 tests file to be a bit more defined and provide an example of a test that Hspec.Wai lets you write. Information was very thin on the ground in that file so it would have been too difficult without assistance. Provided a bit more information about cool things that ``ghcid`` can do that I didn't know about. :D Fixes #9, #7, #5
11 lines
147 B
Haskell
11 lines
147 B
Haskell
module Main where
|
|
|
|
import Test.DocTest (doctest)
|
|
|
|
main :: IO ()
|
|
main = doctest
|
|
[ "-isrc"
|
|
, "src/FirstApp/Conf.hs"
|
|
, "src/FirstApp/DB.hs"
|
|
]
|