diff --git a/tests/throw.rs b/tests/throw.rs index 146a40bc..0b8b717f 100644 --- a/tests/throw.rs +++ b/tests/throw.rs @@ -29,6 +29,7 @@ fn test_try_catch() -> Result<(), Box> { 123 ); + #[cfg(not(feature = "unchecked"))] assert!(matches!( *engine .eval::<()>("try { 42/0; } catch { throw; }")