Skip to content

Commit cc346a5

Browse files
author
Mike McCabe
committed
Merge branch 'master' of github.com:mikemccabe/json-patch-tests
2 parents 86fbfa7 + 774f182 commit cc346a5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,14 @@ fields that defines a test.
1515
- patch: The patch(es) to apply.
1616
- expected: The expected resulting document, OR
1717
- error: A string describing an expected error
18-
- comment: A string describing the test.
18+
- comment: A string describing the test
19+
- disabled: True if the test should be skipped.
1920

20-
'expected', 'error' and 'comment' are optional.
21+
All fields except 'doc' and 'patch' are optional. Test records consisting only of a comment are also OK.
2122

2223
This test set is not complete - additions are welcome!
24+
25+
Credits
26+
-------
27+
28+
The seed test set was adapted from https://github.com/bruth/jsonpatch-js/blob/master/test.js .

0 commit comments

Comments
 (0)