Commit e500b4d
committed
Remove extraneous 'value' field for op:remove (#76)
RFC 6902 section 4.2 [0] does not define a 'value' field for
the 'remove' operation. The commit "Merge _op_base classes
into PatchOperation classes" [1] introduced a 'value' field
in _item_removed() in the DiffBuilder class. This patch
removes the 'value' field from the 'remove' operation, adds
a new test, and revises some other tests.
[0] https://tools.ietf.org/html/rfc6902#section-4.2
[1] 03aa14e1 parent df0c56d commit e500b4d
2 files changed
+16
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
733 | | - | |
734 | 733 | | |
735 | 734 | | |
736 | 735 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
371 | 382 | | |
372 | 383 | | |
373 | 384 | | |
| |||
424 | 435 | | |
425 | 436 | | |
426 | 437 | | |
427 | | - | |
| 438 | + | |
428 | 439 | | |
429 | 440 | | |
430 | 441 | | |
| |||
481 | 492 | | |
482 | 493 | | |
483 | 494 | | |
484 | | - | |
| 495 | + | |
485 | 496 | | |
486 | 497 | | |
487 | 498 | | |
488 | 499 | | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
489 | 503 | | |
490 | 504 | | |
491 | 505 | | |
| |||
0 commit comments