diff --git a/test/runtests.jl b/test/runtests.jl index 20412dc5..af86c7d6 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -938,6 +938,7 @@ Base.similar(bc::Broadcast.Broadcasted{Broadcast.ArrayStyle{MyArray}}, ::Type{El a = StructArray([1;2+im]) b = StructArray([1;;2+im]) @test a .+ b == a .+ collect(b) == collect(a) .+ b == collect(a) .+ collect(b) + @test a .+ Any[1] isa StructArray # issue #185 A = StructArray(randn(ComplexF64, 3, 3))