Add global before/after hspec hook in test/Main.hs
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
module Main where
|
||||
|
||||
import Test.Hspec
|
||||
import Spec
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
putStrLn "before spec"
|
||||
hspec spec
|
||||
putStrLn "after spec"
|
||||
Reference in New Issue
Block a user