Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Jul 3, 2024
1 parent b948b49 commit ba15c1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion http2.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,8 @@ test-suite spec2
http-types,
http2,
network-run >=0.1.0,
typed-process
typed-process,
unliftio

if flag(h2spec)

Expand Down
2 changes: 1 addition & 1 deletion test2/ServerSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runServer = runTCPServer (Just host) port runHTTP2Server
E.bracket
(allocSimpleConfig s 4096)
freeSimpleConfig
(`run` server)
(\conf -> run defaultServerConfig conf server)

server :: Server
server req _aux sendResponse = case requestMethod req of
Expand Down

0 comments on commit ba15c1c

Please sign in to comment.