Skip to content

Add hunk merging test for the insertion case from #268 - #307

Merged
sylvestre merged 1 commit into
uutils:mainfrom
emirmrkaljevic:test-hunk-merging-insertion
Oct 18, 2026
Merged

sylvestre merged 1 commit into
uutils:mainfrom
emirmrkaljevic:test-hunk-merging-insertion

Conversation

@emirmrkaljevic

Copy link
Copy Markdown
Contributor

Follow-up to #306, as requested there. Adds the case from #268 to the unified and context hunk merging tests: an insertion followed by a nearby change, so the two sides have different line counts. Expected output matches GNU diff 3.10.

@sylvestre
sylvestre merged commit 0019867 into uutils:main Oct 18, 2026
31 checks passed
@sylvestre

Copy link
Copy Markdown
Collaborator

Thanks for your PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants