Skip to content

test(patch): demonstrate empty patch being rejectected - #16525

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
shunueda:test/empty-patch-noop
Oct 3, 2026
Merged

rgrinberg merged 1 commit into
ocaml:mainfrom
shunueda:test/empty-patch-noop

Conversation

@shunueda

@shunueda shunueda commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Description

Empty patches are rejected by Dune, while Opam accepts it as a no-op.

https://github.com/ocaml/opam/blob/18a8abc5b138bc5c3bc139985e583b9d44262e8b/src/core/opamPatch.ml#L355

Related Issue and Motivation

Test case for #16519.

Checklist

  • Tests added, if applicable.
  • Change log entry added for any user-facing changes.
  • Documentation added for any user-facing changes.

@shunueda
shunueda force-pushed the test/empty-patch-noop branch 2 times, most recently from b1ebf60 to d290f61 Compare October 3, 2026 15:02
@shunueda
shunueda force-pushed the test/empty-patch-noop branch from d290f61 to 70caeaf Compare October 3, 2026 15:10
@shunueda

shunueda commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor Author

@rgrinberg Could I ask for your review on this? Test case for #16519.

@rgrinberg
rgrinberg merged commit c25759f into ocaml:main Oct 3, 2026
34 of 35 checks passed
@Alizter Alizter added this to the 3.26.0 milestone Oct 4, 2026
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.

3 participants