fix(provider): align native tool system-flattening and add regressions

This commit is contained in:
Chummy 2026-02-19 17:36:57 +08:00
parent 48eb1d1f30
commit d6dca4b890
3 changed files with 76 additions and 1 deletions

View file

@ -691,6 +691,7 @@ mod tests {
assert!(p.is_command_allowed("cargo build --release"));
assert!(p.is_command_allowed("cat file.txt"));
assert!(p.is_command_allowed("grep -r pattern ."));
assert!(p.is_command_allowed("date"));
}
#[test]