diff --git a/test/mlj_model_interface.jl b/test/mlj_model_interface.jl index 49febe1..bc74583 100644 --- a/test/mlj_model_interface.jl +++ b/test/mlj_model_interface.jl @@ -134,7 +134,7 @@ mutable struct LisasBuilder end # UndefVarError accepts two inputs from julia > v"1.9" -_UndefVarError(var, scope) = @static if VERSION <= v"1.9" +_UndefVarError(var, scope) = @static if VERSION < v"1.10" UndefVarError(var) else UndefVarError(var, scope)