mirror of
https://github.com/openai/codex.git
synced 2026-02-01 22:47:52 +00:00
10 lines
380 B
Rust
10 lines
380 B
Rust
use codex_execpolicy_legacy::PositiveExampleFailedCheck;
|
|
use codex_execpolicy_legacy::get_default_policy;
|
|
|
|
#[test]
|
|
fn verify_everything_in_good_list_is_allowed() {
|
|
let policy = get_default_policy().expect("failed to load default policy");
|
|
let violations = policy.check_each_good_list_individually();
|
|
assert_eq!(Vec::<PositiveExampleFailedCheck>::new(), violations);
|
|
}
|