From c052abfa6f0830c488011c3eabadeaef735b21ed Mon Sep 17 00:00:00 2001 From: Puneet Dixit <236133619+puneetdixit200@users.noreply.github.com> Date: Fri, 22 May 2026 07:34:14 +0530 Subject: [PATCH] Use recursive directory creation in query test --- tests/query.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/query.rs b/tests/query.rs index 7efdd28..2c7d6af 100644 --- a/tests/query.rs +++ b/tests/query.rs @@ -5,7 +5,7 @@ fn interactive_query_accepts_existing_path() { let data_dir = tempfile::tempdir().unwrap(); let target_parent = tempfile::tempdir().unwrap(); let target = target_parent.path().join("project"); - std::fs::create_dir(&target).unwrap(); + std::fs::create_dir_all(&target).unwrap(); let expected = target.to_string_lossy();