Skip to content

Commit

Permalink
Fix tests broken on 1.11 (#824)
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy authored Jul 1, 2024
1 parent f4edc99 commit 35a0157
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ const issue639report = []
@test get_docstring(ds) == "f"
@test ChangeDocstring.g() == 1
ds = @doc(ChangeDocstring.g)
@test get_docstring(ds) == "No documentation found."
@test get_docstring(ds) in ("No documentation found.", "No documentation found for private symbol.")
# Ordinary route
write(joinpath(dn, "ChangeDocstring.jl"), """
module ChangeDocstring
Expand Down Expand Up @@ -1135,7 +1135,7 @@ const issue639report = []
sleep(mtimedelay)
@test FirstDocstring.g() == 1
ds = @doc(FirstDocstring.g)
@test get_docstring(ds) == "No documentation found."
@test get_docstring(ds) in ("No documentation found.", "No documentation found for private symbol.")
write(joinpath(dn, "FirstDocstring.jl"), """
module FirstDocstring
"g" g() = 1
Expand Down

0 comments on commit 35a0157

Please sign in to comment.