test: ignore use of expect in tests creating temp fs
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 6m51s
Rust / build (map[name:stable]) (push) Successful in 10m44s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 3m6s

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 { pub fn a_filesystem() -> kxio::fs::TempFileSystem {
#[allow(clippy::expect_used)]
kxio::fs::temp().expect("temp fs") kxio::fs::temp().expect("temp fs")
} }

View file

@ -6,6 +6,7 @@ use crate::alerts::{AlertsActor, History};
// //
pub fn a_filesystem() -> kxio::fs::TempFileSystem { pub fn a_filesystem() -> kxio::fs::TempFileSystem {
#[allow(clippy::expect_used)]
kxio::fs::temp().expect("temp fs") kxio::fs::temp().expect("temp fs")
} }