Skip to content

Commit

Permalink
added second lib test for default features only
Browse files Browse the repository at this point in the history
  • Loading branch information
epi052 committed Oct 14, 2023
1 parent 8ec1355 commit 4d81a39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ cargo test --all-features --doc "${@}"
[tasks.test-lib]
clear = true
script = """
cargo nextest run --retries 10 --lib "${@}"
cargo nextest run --all-features --retries 10 --lib "${@}"
"""

Expand Down
2 changes: 1 addition & 1 deletion src/deciders/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ where
}
}

#[cfg(test)]
#[cfg(all(test, feature = "blocking"))]
mod tests {
#![allow(clippy::similar_names)]
use super::*;
Expand Down
2 changes: 1 addition & 1 deletion src/requests/encoders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ impl RequestExt for Request {
}
}

#[cfg(test)]
#[cfg(all(test, feature = "encoders"))]
mod tests {
use super::*;
use crate::requests::ShouldFuzz;
Expand Down

0 comments on commit 4d81a39

Please sign in to comment.