Skip to content

Commit 00ce40b

Browse files
committed
[DOCS] Note TESTRESPONSE can't be used immediately after TESTSETUP (#41542)
1 parent 6808b9f commit 00ce40b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/README.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ for its modifiers:
6060
"figures out" the path. This is especially useful for making sweeping
6161
assertions like "I made up all the numbers in this example, don't compare
6262
them" which looks like `// TESTRESPONSE[s/\d+/$body.$_path/]`.
63+
* You can't use `// TESTRESPONSE` immediately after `// TESTSETUP`. Instead,
64+
consider using `// TEST[continued]` or rearrange your snippets.
6365
* `// TESTRESPONSE[_cat]`: Add substitutions for testing `_cat` responses. Use
6466
this after all other substitutions so it doesn't make other substitutions
6567
difficult.

0 commit comments

Comments
 (0)