This commit is contained in:
Gabriel Peal
2026-01-24 09:05:09 -08:00
parent ebc88f29f8
commit f6fda4c039
91 changed files with 91 additions and 0 deletions
+1
View File
@@ -110,6 +110,7 @@ fn append_locked_line(policy_path: &Path, line: &str) -> Result<(), AmendError>
.map_err(|source| AmendError::PolicyMetadata {
path: policy_path.to_path_buf(),
source,
// execpolicy/src/amend.rs
})?
.len();
+1
View File
@@ -274,6 +274,7 @@ prefix_rule(
#[test]
fn only_first_token_alias_expands_to_multiple_rules() -> Result<()> {
// execpolicy/tests/basic.rs
let policy_src = r#"
prefix_rule(
pattern = [["bash", "sh"], ["-c", "-l"]],