New Fetch
This commit is contained in:
11
haskell/hello-world/test/Tests.hs
Normal file
11
haskell/hello-world/test/Tests.hs
Normal file
@@ -0,0 +1,11 @@
|
||||
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!"
|
Reference in New Issue
Block a user