git.iko.soy/typeable/servant
on master help sign in
small typo cleanups
commit02da07f95f706e1bbbf3201ca1e49a3fd398db07 authorErik Aker <eraker@gmail.com> dateSun 14 Oct 2018, 11:04 (8 years ago) parent64f89f6
1 file changed+4−4
doc/cookbook/testing/Testing.lhs+4−4
doc/cookbook/testing/Testing.lhs+4−4
@@ -12,8 +12,8 @@ applications.
1212There are many testing strategies you may wish to employ when testing your
1313Servant application, but included below are three common testing patterns:
1414
15−- We'll use `servant-client` to derive client functions and then make valid
16−requests of our API, running in another thread. This is great for testing
15+- We'll use `servant-client` to derive client functions and then send valid
16+requests to our API, running in another thread. This is great for testing
1717that our **business logic** is correctly implemented with only valid HTTP
1818requests.
1919
@@ -36,7 +36,7 @@ Servant applications:
3636
3737## Imports and Our Testing Module
3838
39−This recipe starts the following ingredients:
39+This recipe starts with the following ingredients:
4040
4141```haskell
4242{-# LANGUAGE OverloadedStrings, TypeFamilies, DataKinds,
@@ -150,7 +150,7 @@ withUserApp action =
150150
151151businessLogicSpec :: Spec
152152businessLogicSpec =
153− -- `around` will our Server before the tests and turn it off after
153+ -- `around` will start our Server before the tests and turn it off after
154154 around_ withUserApp $ do
155155 -- create a test client function
156156 let createUser = client (Proxy :: Proxy UserApi)