From b574781f799f221ddb982eb09f731efedc43d6ce Mon Sep 17 00:00:00 2001 From: adrhill Date: Sat, 14 Sep 2024 17:33:24 +0200 Subject: [PATCH] Test qualified accesses --- test/test_linting.jl | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/test/test_linting.jl b/test/test_linting.jl index 5d269f3..4dca6a5 100644 --- a/test/test_linting.jl +++ b/test/test_linting.jl @@ -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 @@ -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