@@ -3,11 +3,13 @@
33{-# LANGUAGE TypeOperators #-}
44module Servant.Utils.LinksSpec where
55
6−import Test.Hspec
6+import Test.Hspec ( Spec, it, describe )
77
88import Servant.API
9+ ( type (:<|>), ReqBody, QueryParam, Get, Post, Capture, type (:>) )
910import Servant.QQSpec ( (~>) )
10−import Servant.Utils.Links (IsElem, IsLink)
11+import Servant.Utils.Links ( IsElem, IsLink )
12+
1113
1214type TestApi =
1315 "hello" :> Capture "name" String :> QueryParam "capital" Bool :> Get Bool
@@ -49,4 +51,3 @@ isLink = describe "IsLink" $ do
4951 it "is False of anything with captures" $ do
5052 reflected (Proxy::Proxy (IsLink NotALink)) ~> False
5153 reflected (Proxy::Proxy (IsLink NotALink2)) ~> False
52−