Skip to content

Commit

Permalink
[DOCS] Note TESTRESPONSE can't be used immediately after TESTSETUP (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig committed Apr 25, 2019
1 parent a6868dc commit e7cd17c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/README.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ for its modifiers:
"figures out" the path. This is especially useful for making sweeping
assertions like "I made up all the numbers in this example, don't compare
them" which looks like `// TESTRESPONSE[s/\d+/$body.$_path/]`.
* You can't use `// TESTRESPONSE` immediately after `// TESTSETUP`. Instead,
consider using `// TEST[continued]` or rearrange your snippets.
* `// TESTRESPONSE[_cat]`: Add substitutions for testing `_cat` responses. Use
this after all other substitutions so it doesn't make other substitutions
difficult.
Expand Down

0 comments on commit e7cd17c

Please sign in to comment.