Skip to content

Commit

Permalink
Disable failing Aqua method ambiguity test for julia v1.11, v1.12
Browse files Browse the repository at this point in the history
This is the ambiguity FWIW:
  • Loading branch information
marcom committed Mar 20, 2024
1 parent d94884f commit af8d307
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion test/aqua.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,15 @@ using LinearFold

@testset "Aqua.test_all" begin
showtestset()
Aqua.test_all(LinearFold)
if VERSION.major == 1 && VERSION.minor in (11, 12)
# Ambiguity #1
# write(io::IO, s::Union{SubString{<:StringViews.StringView},
# StringViews.StringView}) @ StringViews
# ~/.julia/packages/StringViews/gFPyP/src/StringViews.jl:104
# write(io::Base.AnnotatedIOBuffer, x::AbstractString) @ Base strings/annotated.jl:443
@warn "disabling failing Aqua method ambiguity test for julia-1.11.x, julia-1.12.x"
Aqua.test_all(LinearFold; ambiguities=false)
else
Aqua.test_all(LinearFold)
end
end

0 comments on commit af8d307

Please sign in to comment.