We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
==
Union{Bool,Int}
1 parent c492a7d commit 84720fcCopy full SHA for 84720fc
test/broadcast.jl
@@ -346,7 +346,7 @@ end
346
let f17314 = x -> x < 0 ? false : x
347
@test eltype(broadcast(f17314, 1:3)) === Int
348
@test eltype(broadcast(f17314, -1:1)) === Integer
349
- @test eltype(broadcast(f17314, Int[])) === Union{Bool,Int}
+ @test eltype(broadcast(f17314, Int[])) == Union{Bool,Int}
350
end
351
let io = IOBuffer()
352
broadcast(x->print(io,x), 1:5) # broadcast with side effects
0 commit comments