diff --git a/test/runtests.jl b/test/runtests.jl index ee5ca90..f2db5c5 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -9,7 +9,10 @@ using Unitful import IntervalSets: Domain, endpoints, closedendpoints, TypedEndpointsInterval using Aqua -Aqua.test_all(IntervalSets) +if VERSION ≥ v"1.7.0-" + # The verison specification can be removed when https://github.com/JuliaTesting/Aqua.jl/issues/208 is resolved. + Aqua.test_all(IntervalSets) +end struct MyClosedUnitInterval <: TypedEndpointsInterval{:closed,:closed,Int} end endpoints(::MyClosedUnitInterval) = (0,1)