Change consume to run.
This commit is contained in:
parent
fe47058add
commit
c4a00f5269
@ -208,7 +208,7 @@ fn test_get_set_chain_without_write_back() -> Result<(), Box<EvalAltResult>> {
|
||||
engine.eval_with_scope::<INT>(&mut scope, "outer.inner.value")?,
|
||||
42
|
||||
);
|
||||
engine.consume_with_scope(&mut scope, "print(outer.inner.value)")?;
|
||||
engine.run_with_scope(&mut scope, "print(outer.inner.value)")?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user