We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
expectationFailure
Expectation
IO a
1 parent dfb5e34 commit 7db7147Copy full SHA for 7db7147
src/Test/Hspec/Expectations.hs
@@ -75,7 +75,7 @@ type HasCallStack = (() :: Constraint)
75
76
type Expectation = Test.HUnit.Assertion
77
78
-expectationFailure :: HasCallStack => String -> Expectation
+expectationFailure :: HasCallStack => String -> IO a
79
expectationFailure = Test.HUnit.assertFailure
80
81
expectTrue :: HasCallStack => String -> Bool -> Expectation
0 commit comments