diff --git a/tests/get_set.rs b/tests/get_set.rs index cdaa1e68..e7668df9 100644 --- a/tests/get_set.rs +++ b/tests/get_set.rs @@ -208,7 +208,7 @@ fn test_get_set_chain_without_write_back() -> Result<(), Box> { engine.eval_with_scope::(&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(()) }