Skip to content

Conversation

@bolinfest
Copy link
Collaborator

@bolinfest bolinfest commented Jul 24, 2025

Because of a quirk of how implementation tests work in Rust, we had a number of #[allow(dead_code)] annotations that were misleading because the functions were being used, just not by all integration tests in a tests/ folder, so when compiling the test that did not use the function, clippy would complain that it was unused.

This fixes things by create a "test_support" crate under the tests/ folder that is imported as a dev dependency for the respective crate.

@bolinfest bolinfest force-pushed the pr1667 branch 7 times, most recently from b70c5e7 to ca2e442 Compare July 24, 2025 05:27
@bolinfest bolinfest merged commit 7af9ced into main Jul 24, 2025
11 checks passed
@bolinfest bolinfest deleted the pr1667 branch July 24, 2025 19:19
@github-actions github-actions bot locked and limited conversation to collaborators Jul 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants