From c4a00f5269cf63684311bbafd0c03827a527a225 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Mon, 27 Sep 2021 10:59:38 +0800 Subject: [PATCH] Change consume to run. --- tests/get_set.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(()) }