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

Canonicalize snapshot paths before reducing #626

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

max-sixty
Copy link
Collaborator

@max-sixty max-sixty commented Oct 1, 2024

Fixes #625

As ever, the reason is a bit different from the one I initially understood. It's actually that we're reducing the paths by whether one prefixes the other. But in this case the path is only a prefix before it's canonicalized!

On the upside, this case will now work without --workspace-root.

Fixes mitsuhiko#625

As ever, the reason is a bit different from the one I described there; it's actually that we're reducing the paths by whether one prefixes the other. But in this case the path is only a prefix before it's canonicalized!

On the upside, this case will now work without `--workspace-root`.
@max-sixty
Copy link
Collaborator Author

(requires a test before merging)

@max-sixty max-sixty merged commit 6318b6a into mitsuhiko:master Oct 1, 2024
15 checks passed
@max-sixty max-sixty deleted the canonicalize-paths branch October 1, 2024 06:06
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.

cargo-insta v1.40.0 --workspace-root regression
1 participant