Skip to content

Commit

Permalink
Test qualified accesses
Browse files Browse the repository at this point in the history
  • Loading branch information
adrhill committed Sep 14, 2024
1 parent b5aff98 commit b574781
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions test/test_linting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ using ExplicitImports: ExplicitImports
end

@testset "Aqua tests" begin
@info "...with Aqua.jl"
@info "...with Aqua.jl – this might print warnings from dependencies."
Aqua.test_all(DitherPunk; ambiguities=false)
end

Expand All @@ -30,17 +30,14 @@ end
@test ExplicitImports.check_no_stale_explicit_imports(DitherPunk;) === nothing
@test ExplicitImports.check_all_explicit_imports_via_owners(DitherPunk) === nothing
# TODO: test in the future when `public` is more common
# @test ExplicitImports.check_all_explicit_imports_are_public(
# DitherPunk
# ) === nothing
# @test ExplicitImports.check_all_explicit_imports_are_public(DitherPunk) === nothing
end
@testset "Improper qualified accesses" begin
@test ExplicitImports.check_all_qualified_accesses_via_owners(DitherPunk) ===
nothing
@test ExplicitImports.check_no_self_qualified_accesses(DitherPunk) === nothing
# TODO: test in the future when `public` is more common
# @test ExplicitImports.check_all_qualified_accesses_are_public(
# DitherPunk
# ) === nothing
@test ExplicitImports.check_all_qualified_accesses_are_public(DitherPunk) ===
nothing
end
end

0 comments on commit b574781

Please sign in to comment.