rust-clippy icon indicating copy to clipboard operation
rust-clippy copied to clipboard

fix: Do not warn tests outside a module for integration tests

Open berkus opened this issue 1 year ago • 8 comments

Fixes a false positive that triggers tests_outside_test_module in integration tests. As per The Rust Book the integration tests do not need neither #[cfg(test)] nor a separate module because they are separate binary crates.

changelog: [tests_outside_test_module] Do not lint for integration tests fixes #11024

berkus avatar Jul 04 '24 09:07 berkus