Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
fslevoaca-ionos committed Jun 1, 2022
1 parent 7f4d265 commit ef8355a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ String expected = "{\"(?!lorem.*).*\":\"valorem\"}";
String actual = "{\"ipsum\":\"valorem\"}";
JSONCompare.assertMatches(expected, actual);
```
The assertion will pass if the actual JSON has a field which does not contain 'lorem' and points to value 'valorem'.
The assertion will pass if the actual JSON has a field which does not contain 'lorem' and which points to value 'valorem'.


Check for extra JSON values or fields by using the power of `regex` and `DO NOT MATCH` use case
Expand Down

0 comments on commit ef8355a

Please sign in to comment.