Skip to content

Commit 951837f

Browse files
authored
Simplify calling Aqua (#473)
1 parent f154de2 commit 951837f

File tree

2 files changed

+2
-23
lines changed

2 files changed

+2
-23
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
1010
SuiteSparse_jll = "bea87d4a-7f5b-5778-9afe-8cc45184846c"
1111

1212
[compat]
13-
Aqua = "0.7, 0.8"
13+
Aqua = "0.8"
1414
Dates = "<0.0.1, 1"
1515
InteractiveUtils = "<0.0.1, 1"
1616
Libdl = "<0.0.1, 1"

test/ambiguous.jl

+1-22
Original file line numberDiff line numberDiff line change
@@ -28,28 +28,7 @@ end
2828
using Test, LinearAlgebra, SparseArrays, Aqua
2929

3030
@testset "code quality" begin
31-
@testset "Method ambiguity" begin
32-
Aqua.test_ambiguities([SparseArrays, Base, Core])
33-
end
34-
@testset "Unbound type parameters" begin
35-
@test_broken Aqua.detect_unbound_args_recursively(SparseArrays) == []
36-
end
37-
@testset "Undefined exports" begin
38-
Aqua.test_undefined_exports(SparseArrays)
39-
end
40-
@testset "Compare Project.toml and test/Project.toml" begin
41-
Aqua.test_project_extras(SparseArrays)
42-
end
43-
@testset "Stale dependencies" begin
44-
Aqua.test_stale_deps(SparseArrays)
45-
end
46-
@testset "Compat bounds" begin
47-
Aqua.test_deps_compat(SparseArrays)
48-
end
49-
50-
@testset "Piracy" begin
51-
@test_broken Aqua.Piracy.hunt(SparseArrays) == Method[]
52-
end
31+
Aqua.test_all(SparseArrays; unbound_args=(; broken=true), piracies=(; broken=true))
5332
end
5433

5534
let ambig = detect_ambiguities(SparseArrays; recursive=true)

0 commit comments

Comments
 (0)