Add since tag
This commit is contained in:
parent
ac0229dff0
commit
6ddfd07032
@ -398,6 +398,7 @@ bodyContains text = withResponse $ \ res ->
|
|||||||
|
|
||||||
-- | Assert the last response doesn't have the given text. The check is performed using the response
|
-- | Assert the last response doesn't have the given text. The check is performed using the response
|
||||||
-- body in full text form.
|
-- body in full text form.
|
||||||
|
-- @since 1.5.3
|
||||||
bodyNotContains :: String -> YesodExample site ()
|
bodyNotContains :: String -> YesodExample site ()
|
||||||
bodyNotContains text = withResponse $ \ res ->
|
bodyNotContains text = withResponse $ \ res ->
|
||||||
liftIO $ HUnit.assertBool ("Expected body not to contain " ++ text) $
|
liftIO $ HUnit.assertBool ("Expected body not to contain " ++ text) $
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user