qadapt/tests/unused_panic.rs

7 lines
114 B
Rust

use qadapt::enter_protected;
#[test]
#[should_panic]
fn guard_without_initialization() {
enter_protected();
}