File tree Expand file tree Collapse file tree 3 files changed +19
-17
lines changed
Expand file tree Collapse file tree 3 files changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ makedocs(;
2121 repolink = " https://github.com/JuliaTesting/Aqua.jl" ,
2222 assets = [" assets/favicon.ico" ],
2323 ),
24- authors = " Takafumi Arakaki" ,
24+ authors = " Takafumi Arakaki" ,
2525)
2626
27- deploydocs (; repo = " github.com/JuliaTesting/Aqua.jl" , push_preview = true )
27+ deploydocs ( ; repo = " github.com/JuliaTesting/Aqua.jl" , push_preview = true )
28+
Original file line number Diff line number Diff line change @@ -13,17 +13,18 @@ of the method.
1313function test_unbound_args (m:: Module ; broken:: Bool = false )
1414 unbounds = detect_unbound_args_recursively (m)
1515 if ! isempty (unbounds)
16- printstyled (
17- stderr ,
18- " Unbound type parameters detected:\n " ;
19- bold = true ,
20- color = Base. error_color (),
16+ printstyled (
17+ stderr ,
18+ " Unbound type parameters detected:\n " ;
19+ bold = true ,
20+ color = Base. error_color (),
2121 )
22- show (stderr , MIME " text/plain" () , unbounds)
22+ show (stderr ,MIME " text/plain" ( ) , unbounds)
2323 println (stderr )
2424 end
2525 if broken
26- @test_broken isempty (unbounds)
26+ @test_broken isempty (
27+ unbounds)
2728 else
2829 @test isempty (unbounds)
2930 end
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ include("preamble.jl")
55using PkgUnboundArgs
66
77@testset begin
8- results = @testtestset begin
9- Aqua. test_unbound_args (PkgUnboundArgs)
10- end
11- @test length (results) == 1
12- @test results[1 ] isa Test. Fail
8+ results = @testtestset begin
9+ Aqua. test_unbound_args (PkgUnboundArgs)
10+ end
11+ @test length (results) == 1
12+ @test results[1 ] isa Test. Fail
1313
14- # It works with other tests:
15- Aqua. test_ambiguities (PkgUnboundArgs)
16- Aqua. test_undefined_exports (PkgUnboundArgs)
14+ # It works with other tests:
15+ Aqua. test_ambiguities ( PkgUnboundArgs )
16+ Aqua. test_undefined_exports (PkgUnboundArgs)
1717end
1818
1919end # module
You can’t perform that action at this time.
0 commit comments