mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 04:30:13 +00:00
add haskell programming template
This commit is contained in:
8
templates/haskell/test/Spec.hs
Normal file
8
templates/haskell/test/Spec.hs
Normal file
@ -0,0 +1,8 @@
|
||||
import Test.Hspec
|
||||
|
||||
main :: IO ()
|
||||
main =
|
||||
hspec $
|
||||
describe "hello-test" $
|
||||
it "works" $
|
||||
2 + 2 `shouldBe` (4 :: Int)
|
Reference in New Issue
Block a user