File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 11[deps ]
22Aqua = " 4c88cf16-eb10-579e-8560-4a9242c79595"
3+ Pkg = " 44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
34Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
45
56[compat ]
67Aqua = " 0.8"
8+ ExplicitImports = " 1"
9+ Pkg = " <0.0.1, 1.2"
10+
11+ [extras ]
12+ ExplicitImports = " 7d51a73a-1435-4ff3-83d9-f097790105c7"
Original file line number Diff line number Diff line change 1+ using ReachabilityBenchmarks, Test
2+ import Aqua
3+
4+ import Pkg
5+ @static if VERSION >= v " 1.6" # TODO make explicit test requirement
6+ Pkg. add (" ExplicitImports" )
7+ import ExplicitImports
8+
9+ @testset " ExplicitImports tests" begin
10+ @test isnothing (ExplicitImports. check_all_explicit_imports_are_public (ReachabilityBenchmarks))
11+ @test isnothing (ExplicitImports. check_all_explicit_imports_via_owners (ReachabilityBenchmarks))
12+ @test isnothing (ExplicitImports. check_all_qualified_accesses_are_public (ReachabilityBenchmarks))
13+ @test isnothing (ExplicitImports. check_all_qualified_accesses_via_owners (ReachabilityBenchmarks))
14+ @test isnothing (ExplicitImports. check_no_implicit_imports (ReachabilityBenchmarks))
15+ @test isnothing (ExplicitImports. check_no_self_qualified_accesses (ReachabilityBenchmarks))
16+ @test isnothing (ExplicitImports. check_no_stale_explicit_imports (ReachabilityBenchmarks))
17+ end
18+ end
19+
20+ @testset " Aqua tests" begin
21+ Aqua. test_all (ReachabilityBenchmarks)
22+ end
Original file line number Diff line number Diff line change 11using Test, ReachabilityBenchmarks
22
3- include (" Aqua .jl" )
3+ include (" quality_assurance .jl" )
You can’t perform that action at this time.
0 commit comments