Fix test.

This commit is contained in:
Stephen Chung 2022-10-20 13:01:36 +08:00
parent 988222418e
commit f8888c83e7

View File

@ -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::<INT>(&mut scope, "world.len")?, 1);
Ok(())