Some effects of this change: - New formatting changes across many files. No functionality changes should occur from that. - Calls to `set_env` are considered unsafe, since this only happens in tests we wrap them in `unsafe` blocks
10 lines
365 B
Rust
10 lines
365 B
Rust
use codex_execpolicy::NegativeExamplePassedCheck;
|
|
use codex_execpolicy::get_default_policy;
|
|
|
|
#[test]
|
|
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);
|
|
}
|