diff --git a/README.md b/README.md index 236b4b4..1d1826c 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,7 @@ To write tests like this ... ```Swift func testHello() { let req = HTTPRequest.testable.get(uri: "/hello") - let r = app.testable.response(to: req) - let res = r.response + let res = app.testable.response(to: req).response res.testable.debug() // Debug response into the console