diff --git a/docs/make.jl b/docs/make.jl index 27f2d5b4..a524f613 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -21,7 +21,8 @@ makedocs(; repolink = "https://github.com/JuliaTesting/Aqua.jl", assets = ["assets/favicon.ico"], ), - authors = "Takafumi Arakaki", + authors = "Takafumi Arakaki", ) -deploydocs(; repo = "github.com/JuliaTesting/Aqua.jl", push_preview = true) +deploydocs( ; repo = "github.com/JuliaTesting/Aqua.jl", push_preview = true) + \ No newline at end of file diff --git a/src/unbound_args.jl b/src/unbound_args.jl index 2e1f195e..47851ca7 100644 --- a/src/unbound_args.jl +++ b/src/unbound_args.jl @@ -13,17 +13,18 @@ of the method. function test_unbound_args(m::Module; broken::Bool = false) unbounds = detect_unbound_args_recursively(m) if !isempty(unbounds) - printstyled( - stderr, - "Unbound type parameters detected:\n"; - bold = true, - color = Base.error_color(), + printstyled( + stderr, + "Unbound type parameters detected:\n"; + bold = true, + color = Base.error_color(), ) - show(stderr, MIME"text/plain"(), unbounds) + show(stderr,MIME"text/plain"( ) , unbounds) println(stderr) end if broken - @test_broken isempty(unbounds) + @test_broken isempty( + unbounds) else @test isempty(unbounds) end diff --git a/test/test_unbound_args.jl b/test/test_unbound_args.jl index 1d0905c9..82f51960 100644 --- a/test/test_unbound_args.jl +++ b/test/test_unbound_args.jl @@ -5,15 +5,15 @@ include("preamble.jl") using PkgUnboundArgs @testset begin - results = @testtestset begin - Aqua.test_unbound_args(PkgUnboundArgs) - end - @test length(results) == 1 - @test results[1] isa Test.Fail + results = @testtestset begin + Aqua.test_unbound_args(PkgUnboundArgs) + end + @test length(results) == 1 + @test results[1] isa Test.Fail - # It works with other tests: - Aqua.test_ambiguities(PkgUnboundArgs) - Aqua.test_undefined_exports(PkgUnboundArgs) + # It works with other tests: + Aqua.test_ambiguities( PkgUnboundArgs ) + Aqua.test_undefined_exports(PkgUnboundArgs) end end # module