Skip to content

Commit

Permalink
Exclude module name
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle committed Nov 24, 2024
1 parent d4585c9 commit 4df5e8b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions src/Aqua.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
"""
Aqua
Package providing Auto QUality Assurance for other Julia packages.
GitHub repository: https://github.com/JuliaTesting/Aqua.jl
"""
module Aqua

using Base: Docs, PkgId, UUID
Expand Down
2 changes: 1 addition & 1 deletion src/undocumented_names.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Test that all public names in `module` have a docstring (including the module it
function test_undocumented_names(m::Module)
@static if VERSION >= v"1.11"
names = Docs.undocumented_names(m)
@test isempty(names)
@test isempty(names) || (only(names) == nameof(m))
else
names = Symbol[]
end
Expand Down

0 comments on commit 4df5e8b

Please sign in to comment.