sydtest-wai-0.2.0.1: A wai companion library for sydtest
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Syd.Wai.Matcher

Description

This entire module only serves to be backwards compatible with Test.Hspec.Wai.Matcher

This approach of asserting what the response looks like is obsolete because of the way sydtest does things. You should use shouldBe instead.

Documentation

data MatchHeader Source #

Constructors

MatchHeader ([Header] -> Body -> Maybe String) 

data MatchBody Source #

Constructors

MatchBody ([Header] -> Body -> Maybe String) 

Instances

Instances details
IsString MatchBody Source # 
Instance details

Defined in Test.Syd.Wai.Matcher