Fix test.
This commit is contained in:
parent
988222418e
commit
f8888c83e7
@ -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(())
|
||||
|
Loading…
Reference in New Issue
Block a user