forked from kemitix/git-next
test: ignore use of expect in tests creating temp fs
This commit is contained in:
parent
0c8566a4a0
commit
614e721b91
2 changed files with 2 additions and 0 deletions
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue