diff --git a/crates/cli/src/repo/tests/given.rs b/crates/cli/src/repo/tests/given.rs index 2abd585..6c2810c 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 899633e..2769f12 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") }