Fix unchecked build.

This commit is contained in:
Stephen Chung 2021-08-04 18:57:52 +08:00
parent 9b56c1ba78
commit 278b840e13

View File

@ -50,6 +50,7 @@ fn test_do() -> Result<(), Box<EvalAltResult>> {
Ok(()) Ok(())
} }
#[cfg(not(feature = "unchecked"))]
#[test] #[test]
fn test_infinite_loops() -> Result<(), Box<EvalAltResult>> { fn test_infinite_loops() -> Result<(), Box<EvalAltResult>> {
let mut engine = Engine::new(); let mut engine = Engine::new();