diff --git a/tests/plugins.rs b/tests/plugins.rs index dfb0c9c5..f5c8d966 100644 --- a/tests/plugins.rs +++ b/tests/plugins.rs @@ -218,6 +218,7 @@ mod handle { let world: &mut World = &mut vec![42]; scope.push("world", WorldHandle::from(world)); + #[cfg(not(feature = "no_object"))] assert_eq!(engine.eval_with_scope::(&mut scope, "world.len")?, 1); Ok(())