Skip to content

Commit

Permalink
test(parser): add more verbosity.
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvxa committed Feb 27, 2024
1 parent 4941728 commit 384b4a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/fuse-parser/tests/cases/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 384b4a2

Please sign in to comment.