From 384b4a22230206484e30523cb0a846cfd457b857 Mon Sep 17 00:00:00 2001
From: rzvxa <rzvxa@protonmail.com>
Date: Tue, 27 Feb 2024 19:05:33 +0330
Subject: [PATCH] test(parser): add more verbosity.

---
 crates/fuse-parser/tests/cases/mod.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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())