Created
February 26, 2021 06:23
-
-
Save ssanj/53f392bf4e0dd65381b75579d387a79e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE OverloadedStrings #-} | |
{-# LANGUAGE QuasiQuotes #-} | |
{-# LANGUAGE ScopedTypeVariables #-} | |
module ExampleErrorSpec where | |
import Test.Hspec | |
import Test.Hspec.Wai | |
spec :: Spec | |
spec = withState (return 42) :: IO Int $ | |
describe "This magical number" $ | |
it "is bigger than 40" $ \n -> | |
n `shouldSatisfy` (>40) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dependencies: