Tests now have no coverage tracking.

This commit is contained in:
Filipe Rodrigues 2025-10-06 19:58:23 +01:00
parent 5b0e51a127
commit dbd4df7ed8
Signed by: zenithsiz
SSH Key Fingerprint: SHA256:Mb5ppb3Sh7IarBO/sBTXLHbYEOz37hJAlslLQPPAPaU
3 changed files with 5 additions and 2 deletions

View File

@ -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")]

View File

@ -145,6 +145,7 @@ where
}
#[cfg(test)]
#[coverage(off)]
mod tests {
#[test]
fn normalize_path() {

View File

@ -230,6 +230,7 @@ impl From<ArcStr> for String {
}
#[cfg(test)]
#[coverage(off)]
mod tests {
use {super::*, std::collections::HashSet};