diff --git a/servant/test/Servant/Utils/LinksSpec.hs b/servant/test/Servant/Utils/LinksSpec.hs index 0fa17b3a..b261559e 100644 --- a/servant/test/Servant/Utils/LinksSpec.hs +++ b/servant/test/Servant/Utils/LinksSpec.hs @@ -61,7 +61,7 @@ spec = describe "Servant.Utils.Links" $ do let l2 = Proxy :: Proxy ("hello" :> Capture "name" String :> QueryParam "capital" Bool :> Delete '[JSON] ()) - apiLink l2 "bye" True `shouldBeURI` "hello/bye?capital=true" + apiLink l2 "bye" (Just True) `shouldBeURI` "hello/bye?capital=true" let l3 = Proxy :: Proxy ("parent" :> MatrixParams "name" String :> "child"