From e0e07bd89b9f3f1243874c7c53c2cd4adcb3bba3 Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Thu, 10 Oct 2024 16:48:48 +0200 Subject: [PATCH] Update helpers.jl --- test/helpers.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helpers.jl b/test/helpers.jl index 45fedeb6b..05122bf49 100644 --- a/test/helpers.jl +++ b/test/helpers.jl @@ -51,7 +51,7 @@ function expecterror(err, cell; strict=true) msg = sprint(showerror, err) # UndefVarError(:x, #undef) - if err isa UndefVarError && !isdefined(err, :scope) && VERSION > v"1.10" + if err isa UndefVarError && !isdefined(err, :scope) && VERSION >= v"1.11" strict = false msg = first(split(msg, '\n'; limit=2)) end