Skip to content

Commit

Permalink
Check for undocumented names is only available for julia 1.11+
Browse files Browse the repository at this point in the history
  • Loading branch information
pjaap committed Jan 13, 2025
1 parent 04ced0a commit 3068c9b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ end

end

@testset "UndocumentedNames" begin
@test isempty(Docs.undocumented_names(DownstreamTester))
if isdefined(Docs, :undocumented_names) # >=1.11
@testset "UndocumentedNames" begin
@test isempty(Docs.undocumented_names(DownstreamTester))
end
end

0 comments on commit 3068c9b

Please sign in to comment.