From f8888c83e7c0d320e46c7eef4a9f0d8abca8cc31 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Thu, 20 Oct 2022 13:01:36 +0800 Subject: [PATCH] Fix test. --- tests/plugins.rs | 1 + 1 file changed, 1 insertion(+) 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(())