Skip to content

Conversation

@Dav1dde
Copy link
Member

@Dav1dde Dav1dde commented Dec 22, 2025

No need to leak in tests. While this may in general be fine in tests, we should not let bad practices spread throughout the code base. For this specific case we already have Context::for_test(), if this is not ergonomic enough more helper functions can be introduced or macros to manage lifetimes properly.

@Dav1dde Dav1dde requested a review from a team as a code owner December 22, 2025 12:47
@Dav1dde Dav1dde self-assigned this Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants