Line-width change to servant auth tests

This commit is contained in:
aaron levin 2016-01-27 20:17:47 +01:00
parent 0eb19f73d5
commit 563719f11e

View file

@ -56,10 +56,12 @@ import Test.Hspec.Wai (get, liftIO, matchHeaders,
matchStatus, request, matchStatus, request,
shouldRespondWith, with, (<:>)) shouldRespondWith, with, (<:>))
import Servant.API.Auth (BasicAuthData(BasicAuthData)) import Servant.API.Auth (BasicAuthData(BasicAuthData))
import Servant.Server.Internal.Auth import Servant.Server.Internal.Auth
(AuthHandler, AuthReturnType, BasicAuthCheck (BasicAuthCheck), (AuthHandler, AuthReturnType,
BasicAuthResult (Authorized, Unauthorized), mkAuthHandler) BasicAuthCheck (BasicAuthCheck),
BasicAuthResult (Authorized, Unauthorized),
mkAuthHandler)
import Servant.Server.Internal.RoutingApplication import Servant.Server.Internal.RoutingApplication
(toApplication, RouteResult(..)) (toApplication, RouteResult(..))
import Servant.Server.Internal.Router import Servant.Server.Internal.Router