From 40bec9f017c36c853525dd3da89e49666041f1b7 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Fri, 4 Feb 2022 23:02:00 +0800 Subject: [PATCH] Fix tests. --- tests/var_scope.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/var_scope.rs b/tests/var_scope.rs index 7948833b..b8d4824d 100644 --- a/tests/var_scope.rs +++ b/tests/var_scope.rs @@ -125,7 +125,7 @@ fn test_var_resolver() -> Result<(), Box> { fn test_var_def_filter() -> Result<(), Box> { let mut engine = Engine::new(); - engine.on_def_var(|name, scope_level, _, _| match (name, scope_level) { + engine.on_def_var(|name, _, scope_level, _, _| match (name, scope_level) { ("x", 0 | 1) => Ok(false), _ => Ok(true), });