1
0
Эх сурвалжийг харах

Fix confusing section in docs/README

It looked like it was telling you to add both `// TEST[continued]`
and `// TESTRESPONSE` to the same snippet which doesn't do anything.
Instead it was trying to say that you can have many snippets included
into the same test by doing:

```
request1
```
// CONSOLE

```
response1
```
// TESTRESPONSE

``
request2
```
// CONSOLE
// TEST[continued]

```
response2
```
// TESTRESPONSE
Nik Everett 8 жил өмнө
parent
commit
e39b96f257
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      docs/README.asciidoc

+ 3 - 3
docs/README.asciidoc

@@ -36,9 +36,9 @@ are tests even if they don't have `// CONSOLE`.
   text then the test fails. If the response includes `Warning` headers that
   aren't expected then the test fails.
 * `// TESTRESPONSE`: Matches this snippet against the body of the response of
-  the last test. If the response is JSON then order is ignored. With
-  `// TEST[continued]` you can make tests that contain multiple command snippets
-  and multiple response snippets.
+  the last test. If the response is JSON then order is ignored. If you add
+  `// TEST[continued]` to the snippet after `// TESTRESPONSE` it will continue
+  in the same test, allowing you to interleve requests with responses to check.
   * `// TESTRESPONSE[s/foo/bar/]`: Substitutions. See `// TEST[s/foo/bar]`.
   * `// TESTRESPONSE[_cat]`: Add substitutions for testing `_cat` responses. Use
   this after all other substitutions so it doesn't make other substitutions