Skip to content

Commit

Permalink
Fix: replace obsolete use of param
Browse files Browse the repository at this point in the history
  • Loading branch information
jfraudeau committed Nov 16, 2023
1 parent ade88cc commit 37614cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Web/ScottySpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ spec = do
it ("properly handles extra slash routes for " ++ method ++ " requests") $ do
makeRequest "//scotty" `shouldRespondWith` 200

withApp (route "/:paramName" $ param "paramName" >>= text) $ do
withApp (route "/:paramName" $ captureParam "paramName" >>= text) $ do
it ("captures route parameters for " ++ method ++ " requests when parameter matches its name") $ do
makeRequest "/:paramName" `shouldRespondWith` ":paramName"
describe "addroute" $ do
Expand Down

0 comments on commit 37614cf

Please sign in to comment.