Skip to content

Commit b492b96

Browse files
committed
Add Aqua test
1 parent 93b3e9b commit b492b96

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Project.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ authors = ["Fengyang Wang <[email protected]>", "Curtis Vogt <curtis.vog
44
version = "0.4.0"
55

66
[compat]
7+
Aqua = "0.5.5"
78
julia = "1.6"
89

910
[extras]
11+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
1012
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
1113
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1214

1315
[targets]
14-
test = ["Printf", "Test"]
16+
test = ["Printf", "Test", "Aqua"]

test/runtests.jl

+7
Original file line numberDiff line numberDiff line change
@@ -1058,4 +1058,11 @@ end
10581058
@test_throws InexactError Bool(fd1)
10591059
end
10601060

1061+
@static if Base.VERSION >= v"1.6"
1062+
using Aqua
1063+
@testset "Aqua.jl" begin
1064+
Aqua.test_all(FixedPointDecimals)
1065+
end
1066+
end
1067+
10611068
end # global testset

0 commit comments

Comments
 (0)