Fix optimizer test.

This commit is contained in:
Stephen Chung 2021-07-01 12:33:16 +08:00
parent 8c802dcd58
commit 3e0fd33db4

View File

@ -7,6 +7,7 @@ fn test_optimizer() -> Result<(), Box<EvalAltResult>> {
let mut engine = Engine::new();
engine.set_optimization_level(OptimizationLevel::Full);
#[cfg(not(feature = "no_function"))]
assert_eq!(
engine.eval::<INT>(
"