Skip to content

Commit 4236692

Browse files
authored
Mark tests as not broken on Julia 1.11 (#275)
1 parent 9cab52b commit 4236692

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/derivatives/ArrayFunctionTests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function testcat(f, args::Tuple, type, kwargs=NamedTuple())
2929
@assert length(args) == 2
3030

3131
broken = f == hcat && (args[2] isa AbstractMatrix)
32-
if broken && VERSION >= v"1.4"
32+
if broken && v"1.4" <= VERSION < v"1.11"
3333
@test_broken f(track(args[1]), args[2]; kwargs...) isa type
3434
@test_broken value(f(track(args[1]), args[2]; kwargs...)) == f(args...; kwargs...)
3535
else
@@ -38,7 +38,7 @@ function testcat(f, args::Tuple, type, kwargs=NamedTuple())
3838
end
3939

4040
broken = f == hcat && (args[1] isa AbstractMatrix)
41-
if broken && VERSION >= v"1.4"
41+
if broken && v"1.4" <= VERSION < v"1.11"
4242
@test_broken f(args[1], track(args[2]); kwargs...) isa type
4343
@test_broken value(f(args[1], track(args[2]); kwargs...)) == f(args...; kwargs...)
4444
else
@@ -50,7 +50,7 @@ function testcat(f, args::Tuple, type, kwargs=NamedTuple())
5050
args = (args..., args...)
5151
sizes = size.(args)
5252
broken = (f in (vcat, hcat) && (args[2] isa AbstractArray))
53-
if broken && VERSION >= v"1.4"
53+
if broken && v"1.4" <= VERSION < v"1.11"
5454
@test_broken f(track.(args)...; kwargs...) isa type
5555
@test_broken value(f(track.(args)...; kwargs...)) == f(args...; kwargs...)
5656
else

0 commit comments

Comments
 (0)