Skip to content

Commit

Permalink
Update helpers.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Oct 10, 2024
1 parent 3ba50cd commit e0e07bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helpers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0e07bd

Please sign in to comment.