aboutsummaryrefslogtreecommitdiffstats
path: root/test/Spec.hs
blob: 12eed812fdbc6902c4271e402d7e3a1a7f2d3e8f (plain)
1
2
3
4
5
6
7
import Test.Hspec

main :: IO ()
main = hspec $ do
  describe "Prelude.head" $ do
    it "returns the first element of a list" $ do
      head [23 ..] `shouldBe` (23 :: Int)