diff --git a/crates/fuse-parser/tests/cases/mod.rs b/crates/fuse-parser/tests/cases/mod.rs index 2353b63..a7946d9 100644 --- a/crates/fuse-parser/tests/cases/mod.rs +++ b/crates/fuse-parser/tests/cases/mod.rs @@ -85,7 +85,7 @@ fn panic() { // helpers fn load_cases(ctx: &Context) -> Vec<PathBuf> { fs::read_dir(ctx.path()) - .unwrap() + .expect(&format!("Failed to read {}", ctx.path().to_str().unwrap())) .map(|x| x.unwrap()) .filter(|x| x.metadata().is_ok_and(|meta| meta.is_dir())) .map(|node| node.path())