diff --git a/tests/optimizer.rs b/tests/optimizer.rs index dc25ab23..ac2d5f7f 100644 --- a/tests/optimizer.rs +++ b/tests/optimizer.rs @@ -7,6 +7,7 @@ fn test_optimizer() -> Result<(), Box> { let mut engine = Engine::new(); engine.set_optimization_level(OptimizationLevel::Full); + #[cfg(not(feature = "no_function"))] assert_eq!( engine.eval::( "