Fix compiler warning

This commit is contained in:
Connor Prussin 2018-02-24 19:57:46 -08:00
parent 435003e2ab
commit 1f8024643c
No known key found for this signature in database
GPG Key ID: C72452E036D53A6A

View File

@ -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