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 tests by borrowing attributes value in roundtrip test #399

Closed
wants to merge 1 commit into from

Conversation

kennethloeffler
Copy link
Member

@kennethloeffler kennethloeffler commented Mar 3, 2024

After doing tests with a totally clean build (running cargo clean on the workspace, deleting Cargo.lock, then running cargo test --all-features on the workspace), I was able to trace the CI failure we noticed in #398 to an unintentionally breaking change that was shipped as part of a minor version bump to an external library: mitsuhiko/insta#385. It looks like previous versions of the _assert_serialized_snapshot macro borrowed the value, while the new one takes ownership. It is probably better for us to explicitly borrow the value here, but I'll still let them know that this change was breaking

@kennethloeffler kennethloeffler changed the title Fix CI by borrowing attributes value in roundtrip test Fix tests by borrowing attributes value in roundtrip test Mar 3, 2024
@kennethloeffler
Copy link
Member Author

Closing this because it will Soon be fixed upstream at insta

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.

None yet

1 participant