Skip to content

Commit 7204c50

Browse files
authored
Add Aqua tests; add [compat] for ImageBase (#61)
The [compat] was missed in #60.
1 parent 70d52cf commit 7204c50

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,19 @@ ImageTransformations = "02fcd773-0e25-5acc-982a-7f6622650795"
1010
Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a"
1111

1212
[compat]
13+
ImageBase = "0.1"
1314
ImageCore = "0.9.3, 0.10"
1415
ImageTransformations = "0.8.1, 0.9, 0.10"
1516
Parameters = "0.12"
1617
julia = "1"
1718

1819
[extras]
20+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
1921
ImageFiltering = "6a3955dd-da59-5b1f-98d4-e7296123deb5"
2022
ImageMagick = "6218d12a-5da1-5696-b52f-db25d2ecc6d1"
2123
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
2224
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2325
TestImages = "5e47fb64-e119-507b-a336-dd2b206d9990"
2426

2527
[targets]
26-
test = ["Test", "ImageFiltering", "TestImages", "ImageMagick", "LinearAlgebra"]
28+
test = ["Test", "Aqua", "ImageFiltering", "TestImages", "ImageMagick", "LinearAlgebra"]

test/runtests.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
using ImageContrastAdjustment
22
using Test, ImageCore, ImageFiltering, TestImages, LinearAlgebra
3+
using Aqua
4+
5+
if Base.VERSION >= v"1.6"
6+
@testset "Aqua" begin
7+
# TODO: fix the ambiguity test
8+
Aqua.test_all(ImageContrastAdjustment; ambiguities=false)
9+
end
10+
end
311

412
@testset "ImageContrastAdjustment.jl" begin
513
include("core.jl")

0 commit comments

Comments
 (0)