mirror of
https://github.com/openai/codex.git
synced 2026-04-24 22:54:54 +00:00
11 lines
419 B
Rust
11 lines
419 B
Rust
use codex_execpolicy_legacy::NegativeExamplePassedCheck;
|
|
use codex_execpolicy_legacy::get_default_policy;
|
|
|
|
#[test]
|
|
// execpolicy-legacy/tests/suite/bad.rs
|
|
fn verify_everything_in_bad_list_is_rejected() {
|
|
let policy = get_default_policy().expect("failed to load default policy");
|
|
let violations = policy.check_each_bad_list_individually();
|
|
assert_eq!(Vec::<NegativeExamplePassedCheck>::new(), violations);
|
|
}
|