Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Oct 21, 2024
1 parent 31c2182 commit 602fb26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/Errors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ function MultipleDefinitionsError(topology::NotebookTopology, cell::AbstractCell
MultipleDefinitionsError(
union((defs(cell) defs(c) for c in competitors)...)
)

error(123)
end

const _hint1 = "Combine all definitions into a single reactive cell using a `begin ... end` block."
Expand Down
4 changes: 2 additions & 2 deletions test/pluto integration/helpers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,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 All @@ -41,4 +41,4 @@ function expecterror(err, cell; strict=true)
else
return occursin(msg, cell.output.body[:msg])
end
end
end

0 comments on commit 602fb26

Please sign in to comment.