10 lines
366 B
Rust
10 lines
366 B
Rust
|
|
use codex_execpolicy::get_default_policy;
|
||
|
|
use codex_execpolicy::PositiveExampleFailedCheck;
|
||
|
|
|
||
|
|
#[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);
|
||
|
|
}
|