Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelboulton committed Nov 27, 2022
1 parent 540588f commit 6f37548
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/source/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -625,8 +625,12 @@ With strict being turned off for the body, any of these in the test will pass:

But not:

- `[3, 1]`, `[2, 1]` - items present, but out of order
- `[2, 4]` - '4' not present in response from the server
- `[3, 1]`, `[2, 1]` - items present, but out of order

To match the last case you can use the special setting `list_any_order`. This setting
can only be used in the 'json' key of a request, but will match list items in any order as
long as they are present in the response.

### Changing the setting

Expand Down

0 comments on commit 6f37548

Please sign in to comment.