From 37ce2dd4f46ebec0bf714ba59715f8ee0ff48945 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20G=C3=B6ttgens?= Date: Fri, 1 Dec 2023 12:40:16 +0100 Subject: [PATCH] Destroy some formatting (again) --- docs/make.jl | 5 +++-- src/unbound_args.jl | 15 ++++++++------- test/test_unbound_args.jl | 16 ++++++++-------- 3 files changed, 19 insertions(+), 17 deletions(-) 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