87efce4fa2
This adds a `àllow-useless-vec-in-test` configuration which, when set to `true` will allow the `useless_vec` lint in `#[test]` functions and code within `#[cfg(test)]`. It also moves a `is_in_test` helper to `clippy_utils`.
2 lines
34 B
TOML
2 lines
34 B
TOML
allow-useless-vec-in-tests = true
|