Fix throw test.
This commit is contained in:
parent
44dc5f95c3
commit
ce03a4fda5
@ -29,6 +29,7 @@ fn test_try_catch() -> Result<(), Box<EvalAltResult>> {
|
||||
123
|
||||
);
|
||||
|
||||
#[cfg(not(feature = "unchecked"))]
|
||||
assert!(matches!(
|
||||
*engine
|
||||
.eval::<()>("try { 42/0; } catch { throw; }")
|
||||
|
Loading…
Reference in New Issue
Block a user