summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorXipmix <576337-xipmix@users.noreply.gitlab.com>2022-03-16 20:01:58 +1100
committerXipmix <576337-xipmix@users.noreply.gitlab.com>2022-03-16 21:06:16 +1100
commit18c304511b19f34ba3ddfcd06e6f6da38266b504 (patch)
tree5cd34fdf6fa3a16233bb892356cc13cb46950c3f /examples
parentd38f52b9d3b490e7b3605c1d888074ab37676375 (diff)
downloadsubplot-18c304511b19f34ba3ddfcd06e6f6da38266b504.tar.gz
typos
Diffstat (limited to 'examples')
-rw-r--r--examples/website/website.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/website/website.md b/examples/website/website.md
index 370d9da..e85249a 100644
--- a/examples/website/website.md
+++ b/examples/website/website.md
@@ -114,7 +114,7 @@ one of the key words (given, when, then) and a pattern, and also a
function name. The pattern can be fixed text, or it can extract parts
of the scenario step and pass those to the function.
-Patterns which capture and extract parts of the scenario stesp
+Patterns which capture and extract parts of the scenario steps
have the form `{name}` for single words, or `{name:text}`
for multiple words. This allows for an easy way to, for example, use
the same step for different web sites.
@@ -128,7 +128,7 @@ The `assert` statement is typically used to verify things in a
step function. For more useful error messages, Subplot provides the
functions `assert_eq` and `assert_ne` that can be used as well.
-Extracted parts of steps are passed to functions a keyword arguments.
+Extracted parts of steps are passed to functions as keyword arguments.
Such arguments must exist, which is why you will typically see them
added as `name=None` in the function definition.