You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
341 B
14 lines
341 B
3 years ago
|
import Test.Hspec (Spec, it, shouldBe)
|
||
|
import Test.Hspec.Runner (configFastFail, defaultConfig, hspecWith)
|
||
|
|
||
|
import HelloWorld (hello)
|
||
|
|
||
|
main :: IO ()
|
||
|
main = hspecWith defaultConfig {configFastFail = True} specs
|
||
|
|
||
|
specs :: Spec
|
||
|
specs = it "hello" $
|
||
|
hello `shouldBe` "Hello, World!"
|
||
|
|
||
|
-- 5c542864b011fb742aa95ca950d3473ce168ec8c
|