Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix diff (old and new were reversed) #7855

Merged
merged 1 commit into from
Oct 9, 2023
Merged

Conversation

bluthej
Copy link
Contributor

@bluthej bluthej commented Oct 9, 2023

Summary

Fixes #7853.

The old and new source files were reversed in the call to TextDiff::from_lines, so the diff output of the CLI was also reversed.

Test Plan

Two snapshots were updated in the process, so any reversal should be caught :)

@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2023

PR Check Results

Ecosystem

✅ ecosystem check detected no changes.

Copy link
Member

@dhruvmanila dhruvmanila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dhruvmanila dhruvmanila added the bug Something isn't working label Oct 9, 2023
@dhruvmanila dhruvmanila merged commit 38f512d into astral-sh:main Oct 9, 2023
16 checks passed
konstin pushed a commit that referenced this pull request Oct 11, 2023
## Summary

Fixes #7853.

The old and new source files were reversed in the call to
`TextDiff::from_lines`, so the diff output of the CLI was also reversed.

## Test Plan

Two snapshots were updated in the process, so any reversal should be
caught :)
@bluthej bluthej deleted the fix-diff branch November 26, 2023 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Diff is reversed
2 participants