Skip to content
Discussion options

You must be logged in to vote

Confirmed and opened a fix in #1515.

Aube was passing the patch directly to diffy, which compares newline bytes exactly: the final context line in the patch ends with a newline, while the source file's final line does not. The fix retries with an EOF annotation on matching final context, preserving the absent trailing newline. Explicit newline edits keep their existing behavior, and content mismatches still fail.

Your reproduction now passes both the canonical and missing-marker variants with the patched aube 2.2.13 build against pnpm 11.10.0 and 12.3.4 on macOS arm64, including its exact output-byte assertions. All 127 linker tests and workspace Clippy checks pass. Added regression cover…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mwolson
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants