From 4ced37885d95c31b8820d7ef4b654e5521e20160 Mon Sep 17 00:00:00 2001 From: hyrodium Date: Fri, 20 Oct 2023 18:56:43 +0900 Subject: [PATCH] specify Julia version for test with Aqua.jl --- test/runtests.jl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)