mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
format
This commit is contained in:
@@ -820,7 +820,7 @@ prefix_rule(pattern=["rm"], decision="forbidden")
|
||||
fn commands_for_exec_policy_falls_back_for_empty_shell_script() {
|
||||
let command = vec!["bash".to_string(), "-lc".to_string(), "".to_string()];
|
||||
|
||||
assert_eq!(commands_for_exec_policy(&command), (vec![command], false),);
|
||||
assert_eq!(commands_for_exec_policy(&command), (vec![command], false));
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -831,7 +831,7 @@ prefix_rule(pattern=["rm"], decision="forbidden")
|
||||
" \n\t ".to_string(),
|
||||
];
|
||||
|
||||
assert_eq!(commands_for_exec_policy(&command), (vec![command], false),);
|
||||
assert_eq!(commands_for_exec_policy(&command), (vec![command], false));
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
|
||||
Reference in New Issue
Block a user