Skip to content

Commit dc1727c

Browse files
committed
Use Aqua to test ambiguities and unbound_args (as well as undef exports.
1 parent 9bae9f6 commit dc1727c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Requires = "0.5, 1.0"
1212
julia = "1.2"
1313

1414
[extras]
15+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
1516
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
1617
BlockBandedMatrices = "ffab5731-97b5-5995-9138-79e8c1846df0"
1718
LabelledArrays = "2ee39098-c373-598a-b85f-a56591580800"
@@ -21,4 +22,4 @@ SuiteSparse = "4607b0f0-06f3-5cda-b6b1-a6196a1729e9"
2122
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2223

2324
[targets]
24-
test = ["Test", "LabelledArrays", "StaticArrays", "BandedMatrices", "BlockBandedMatrices", "SuiteSparse", "Random"]
25+
test = ["Test", "LabelledArrays", "StaticArrays", "BandedMatrices", "BlockBandedMatrices", "SuiteSparse", "Random", "Aqua"]

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ using Base: setindex
33
import ArrayInterface: has_sparsestruct, findstructralnz, fast_scalar_indexing, lu_instance, Static
44
@test ArrayInterface.ismutable(rand(3))
55

6-
@test isempty(detect_unbound_args(ArrayInterface))
7-
@test isempty(detect_ambiguities(ArrayInterface))
6+
using Aqua
7+
Aqua.test_all(ArrayInterface)
88

99
using StaticArrays
1010
x = @SVector [1,2,3]

0 commit comments

Comments
 (0)