test: ignore use of expect in tests creating temp fs

This commit is contained in:
Paul Campbell 2024-11-21 10:49:33 +00:00
parent 0c8566a4a0
commit 614e721b91
2 changed files with 2 additions and 0 deletions

View file

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

View file

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