Remove error calls and replace with working implementations of ToHttpApiData

This commit is contained in:
Alex Mason 2016-09-03 00:23:21 +10:00
parent dbab31508e
commit 3e704362c3

View file

@ -40,8 +40,8 @@ data TestHeader
instance ToHttpApiData TestHeader where instance ToHttpApiData TestHeader where
toHeader = toHeader . show toHeader = toHeader . show
toUrlPiece _ = error "ToHttpApiData.toUrlPiece not implemented for TestHeader" toUrlPiece = toUrlPiece . show
toQueryParam _ = error "ToHttpApiData.toQueryParam not implemented for TestHeader" toQueryParam = toQueryParam . show
instance Arbitrary TestHeader where instance Arbitrary TestHeader where