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), });