Skip to content

Commit

Permalink
Skip amb test for all other julia versions
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskawczynski committed Jan 5, 2024
1 parent 9d24e2e commit 15bdd61
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions test/AquaTest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ end
ambs_dict[(1, 10)] = 1
verkey(v) = (Int(VERSION.major), Int(VERSION.minor))

@test length(ambs) ambs_dict[verkey(VERSION)]
# notify us when we fix one
if length(ambs) < ambs_dict[verkey(VERSION)]
@info "Ambiguities may have been fixed, please lower the limit."
@info " length(ambs) = $(length(ambs))"
if haskey(ambs_dict, verkey(VERSION))
@test length(ambs) ambs_dict[verkey(VERSION)]
# notify us when we fix one
if length(ambs) < ambs_dict[verkey(VERSION)]
@info "Ambiguities may have been fixed, please lower the limit."
@info " length(ambs) = $(length(ambs))"
end
end
end

Expand Down

0 comments on commit 15bdd61

Please sign in to comment.