fix: allow Grep to target a file

This commit is contained in:
2026-08-30 19:50:57 +09:00
parent a7bf5ceac3
commit 80c1f48f0e
5 changed files with 191 additions and 8 deletions
+1 -1
View File
@@ -1943,7 +1943,7 @@ mod tests {
&workdir,
GrepRequest {
pattern: "NEEDLE".into(),
path: WorkdirPath::root(),
path: WorkdirPath::new("src/main.rs").unwrap(),
glob: None,
file_type: None,
case_insensitive: false,