Skip to content

Commit e77dbe2

Browse files
committed
julia v1.10 vs v1.11
1 parent d235850 commit e77dbe2

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

test/aqua.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@ import Aqua
33
using Test: @testset
44

55
@testset "aqua" begin
6+
if VERSION < v"1.11"
67
Aqua.test_all(SpecialMatrices; ambiguities = false)
8+
else
9+
Aqua.test_all(SpecialMatrices)
10+
end
711
end
812

913
#=
10-
todo: 1 ambiguity
14+
todo: 1 ambiguity in julia v1.10
1115
mul!(A::Matrix, B::AbstractMatrix, C::SpecialMatrices.Companion)
1216
SpecialMatrices/src/companion.jl:89
1317
mul!(C::AbstractMatrix, A::LinearAlgebra.AbstractTriangular, B::AbstractMatrix)

test/runtests.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using SpecialMatrices: SpecialMatrices
2-
using Test: @test_broken, @testset, detect_ambiguities
2+
using Test: @test, @test_broken, @testset, detect_ambiguities
33

44
include("aqua.jl")
55

@@ -21,5 +21,9 @@ const files = (
2121
end
2222

2323
@testset "ambiguities" begin
24+
if VERSION < v"1.11"
2425
@test_broken isempty(detect_ambiguities(SpecialMatrices)) # see aqua.jl
26+
else
27+
@test isempty(detect_ambiguities(SpecialMatrices))
28+
end
2529
end

0 commit comments

Comments
 (0)