Skip to content

Commit 5f3d25a

Browse files
committed
[DOCS] Note TESTRESPONSE can't be used immediately after TESTSETUP (#41542)
1 parent bc4a134 commit 5f3d25a

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
@@ -57,6 +57,8 @@ for its modifiers:
5757
"figures out" the path. This is especially useful for making sweeping
5858
assertions like "I made up all the numbers in this example, don't compare
5959
them" which looks like `// TESTRESPONSE[s/\d+/$body.$_path/]`.
60+
* You can't use `// TESTRESPONSE` immediately after `// TESTSETUP`. Instead,
61+
consider using `// TEST[continued]` or rearrange your snippets.
6062
* `// TESTRESPONSE[_cat]`: Add substitutions for testing `_cat` responses. Use
6163
this after all other substitutions so it doesn't make other substitutions
6264
difficult.

0 commit comments

Comments
 (0)