2025-05-12 08:45:46 -07:00
|
|
|
#![expect(clippy::expect_used)]
|
2025-04-24 17:14:47 -07:00
|
|
|
use codex_execpolicy::PositiveExampleFailedCheck;
|
2025-05-07 08:37:48 -07:00
|
|
|
use codex_execpolicy::get_default_policy;
|
2025-04-24 17:14:47 -07:00
|
|
|
|
|
|
|
|
#[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);
|
|
|
|
|
}
|