Skip to content

Commit 564f7a7

Browse files
committed
Fix @test_broken to actually assert type intersection result
This test is still valid, but it was not actually asserting anything due to not returning a boolean value.
1 parent d666081 commit 564f7a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/subtype.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2230,7 +2230,7 @@ T46784{B<:Val, M<:AbstractMatrix} = Tuple{<:Union{B, <:Val{<:B}}, M, Union{Abstr
22302230
(Tuple{Type{T},Array{Union{T,Nothing},N}} where {T,N})) <: Any
22312231

22322232
#issue 35698
2233-
@test_broken typeintersect(Type{Tuple{Array{T,1} where T}}, UnionAll)
2233+
@test_broken typeintersect(Type{Tuple{Array{T,1} where T}}, UnionAll) != Union{}
22342234

22352235
#issue 33137
22362236
@test_broken (Tuple{Q,Int} where Q<:Int) <: Tuple{T,T} where T

0 commit comments

Comments
 (0)