Fix compiler warning
This commit is contained in:
parent
435003e2ab
commit
1f8024643c
@ -49,8 +49,8 @@ middlewareSpec = Spec.it "runs the middleware example" do
|
||||
header ?= "router"
|
||||
body <- TestHelpers.get port StrMap.empty "/"
|
||||
body ?= "hello"
|
||||
header <- TestHelpers.getHeader port StrMap.empty "/middleware" "X-Middleware"
|
||||
header ?= "middleware"
|
||||
header' <- TestHelpers.getHeader port StrMap.empty "/middleware" "X-Middleware"
|
||||
header' ?= "middleware"
|
||||
body' <- TestHelpers.get port StrMap.empty "/middleware"
|
||||
body' ?= "Middleware!"
|
||||
where port = Middleware.port
|
||||
|
Loading…
Reference in New Issue
Block a user