summaryrefslogtreecommitdiff
path: root/tests/patch/patch_common.h
Commit message (Collapse)AuthorAgeFilesLines
* diff: treat binary patches with no data specialethomson/diff-read-empty-binaryEdward Thomson2016-09-051-0/+5
| | | | | | When creating and printing diffs, deal with binary deltas that have binary data specially, versus diffs that have a binary file but lack the actual binary data.
* apply: test postimages that grow/shrink originalEdward Thomson2016-05-261-0/+89
| | | | | | | Test with some postimages that actually grow/shrink from the original, adding new lines or removing them. (Also do so without context to ensure that we can add/remove from a non-zero part of the line vector.)
* apply: move patch data to patch_common.hEdward Thomson2016-05-261-0/+574