Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamw committed Oct 25, 2017
1 parent 32ef75f commit ae0d7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/backends/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For example::
val response2 = sttp.post(uri"http://example.org/d/e").send()
// response2.code will be 500

It is also possible to match request by partial function, returning a response. E.g.:
It is also possible to match request by partial function, returning a response. E.g.::

implicit val testingBackend = SttpBackendStub(HttpURLConnectionBackend())
.whenRequestMatchesPartial({
Expand Down

0 comments on commit ae0d7f6

Please sign in to comment.