Fix throw test.

This commit is contained in:
Stephen Chung 2020-10-20 23:30:01 +08:00
parent 44dc5f95c3
commit ce03a4fda5

View File

@ -29,6 +29,7 @@ fn test_try_catch() -> Result<(), Box<EvalAltResult>> {
123 123
); );
#[cfg(not(feature = "unchecked"))]
assert!(matches!( assert!(matches!(
*engine *engine
.eval::<()>("try { 42/0; } catch { throw; }") .eval::<()>("try { 42/0; } catch { throw; }")