Skip to content

Commit

Permalink
specify Julia version for test with Aqua.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrodium committed Oct 20, 2023
1 parent 84706f6 commit 4ced378
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4ced378

Please sign in to comment.