mirror of
https://github.com/openai/codex.git
synced 2026-11-19 22:30:42 +00:00
100
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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"]],
|
||||
|
||||
Reference in New Issue
Block a user