Skip to content

Commit 35a0157

Browse files
authored
Fix tests broken on 1.11 (#824)
1 parent f4edc99 commit 35a0157

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ const issue639report = []
10951095
@test get_docstring(ds) == "f"
10961096
@test ChangeDocstring.g() == 1
10971097
ds = @doc(ChangeDocstring.g)
1098-
@test get_docstring(ds) == "No documentation found."
1098+
@test get_docstring(ds) in ("No documentation found.", "No documentation found for private symbol.")
10991099
# Ordinary route
11001100
write(joinpath(dn, "ChangeDocstring.jl"), """
11011101
module ChangeDocstring
@@ -1135,7 +1135,7 @@ const issue639report = []
11351135
sleep(mtimedelay)
11361136
@test FirstDocstring.g() == 1
11371137
ds = @doc(FirstDocstring.g)
1138-
@test get_docstring(ds) == "No documentation found."
1138+
@test get_docstring(ds) in ("No documentation found.", "No documentation found for private symbol.")
11391139
write(joinpath(dn, "FirstDocstring.jl"), """
11401140
module FirstDocstring
11411141
"g" g() = 1

0 commit comments

Comments
 (0)