diff --git a/src/lib.rs b/src/lib.rs index 9e100dd..a273b33 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -20,7 +20,8 @@ substr_range, unwrap_infallible, never_type, - try_trait_v2_yeet + try_trait_v2_yeet, + coverage_attribute )] // Lints #![allow( @@ -53,6 +54,7 @@ use { expand::Expander, rules::Rules, }, + app_error::Context, futures::{StreamExt, TryFutureExt, stream::FuturesUnordered}, indicatif::ProgressBar, smallvec::SmallVec, @@ -66,7 +68,6 @@ use { }, util::ArcStr, watcher::Watcher, - app_error::Context, }; #[expect(clippy::too_many_lines, reason = "TODO: Split it up more")] diff --git a/src/util.rs b/src/util.rs index 97b4c7e..028e064 100644 --- a/src/util.rs +++ b/src/util.rs @@ -145,6 +145,7 @@ where } #[cfg(test)] +#[coverage(off)] mod tests { #[test] fn normalize_path() { diff --git a/src/util/arc_str.rs b/src/util/arc_str.rs index 09ddfc3..5579f61 100644 --- a/src/util/arc_str.rs +++ b/src/util/arc_str.rs @@ -230,6 +230,7 @@ impl From for String { } #[cfg(test)] +#[coverage(off)] mod tests { use {super::*, std::collections::HashSet};