diff --git a/crates/cli/src/repo/tests/given.rs b/crates/cli/src/repo/tests/given.rs index 2abd5854..6c2810cd 100644 --- a/crates/cli/src/repo/tests/given.rs +++ b/crates/cli/src/repo/tests/given.rs @@ -153,6 +153,7 @@ pub fn a_commit_sha() -> Sha { } pub fn a_filesystem() -> kxio::fs::TempFileSystem { + #[allow(clippy::expect_used)] kxio::fs::temp().expect("temp fs") } diff --git a/crates/cli/src/server/actor/tests/given.rs b/crates/cli/src/server/actor/tests/given.rs index 899633ee..2769f128 100644 --- a/crates/cli/src/server/actor/tests/given.rs +++ b/crates/cli/src/server/actor/tests/given.rs @@ -6,6 +6,7 @@ use crate::alerts::{AlertsActor, History}; // pub fn a_filesystem() -> kxio::fs::TempFileSystem { + #[allow(clippy::expect_used)] kxio::fs::temp().expect("temp fs") }