Skip to content

test: Adjust spans to match original test spans #224

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

Merged
merged 1 commit into from
Jun 25, 2025

Conversation

Muscraft
Copy link
Member

When working on a fix for an issue, it caused changes to multiline_removal and multiline_replacement, which I found odd, so I dug into why that was happening and found that the suggestion spans for both were one byte wider (34 vs 33) than the span of the test they were based on. Removing this extra width makes it so that multiline_removal's suggestion matches the original test.

@Muscraft Muscraft merged commit a1f58cd into rust-lang:master Jun 25, 2025
15 checks passed
@Muscraft Muscraft deleted the adjust-spans branch June 25, 2025 22:57
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.

1 participant