@@ -628,12 +628,19 @@ end
628628 io = IOBuffer ()
629629 Base. showarg (io, rows, true )
630630 str = String (take! (io))
631- @test str == " LazyRows(::Array{Float64,2}, ::Array{Float64,2}) with eltype LazyRow{Complex{Float64}}"
631+ if VERSION < v " 1.6-"
632+ @test str == " LazyRows(::Array{Float64,2}, ::Array{Float64,2}) with eltype LazyRow{Complex{Float64}}"
633+ else
634+ @test str == " LazyRows(::Matrix{Float64}, ::Matrix{Float64}) with eltype LazyRow{ComplexF64}"
635+ end
632636 io = IOBuffer ()
633637 Base. showarg (io, rows, false )
634638 str = String (take! (io))
635- @test str == " LazyRows(::Array{Float64,2}, ::Array{Float64,2})"
636-
639+ if VERSION < v " 1.6-"
640+ @test str == " LazyRows(::Array{Float64,2}, ::Array{Float64,2})"
641+ else
642+ @test str == " LazyRows(::Matrix{Float64}, ::Matrix{Float64})"
643+ end
637644 s = StructArray ((rand (10 , 10 ), rand (10 , 10 )))
638645 rows = LazyRows (s)
639646 @test IndexStyle (rows) isa IndexLinear
@@ -653,11 +660,19 @@ end
653660 io = IOBuffer ()
654661 Base. showarg (io, rows, true )
655662 str = String (take! (io))
656- @test str == " LazyRows(::Array{Float64,2}, ::Array{Float64,2}) with eltype LazyRow{Tuple{Float64,Float64}}"
663+ if VERSION < v " 1.6-"
664+ @test str == " LazyRows(::Array{Float64,2}, ::Array{Float64,2}) with eltype LazyRow{Tuple{Float64,Float64}}"
665+ else
666+ @test str == " LazyRows(::Matrix{Float64}, ::Matrix{Float64}) with eltype LazyRow{Tuple{Float64, Float64}}"
667+ end
657668 io = IOBuffer ()
658669 Base. showarg (io, rows, false )
659670 str = String (take! (io))
660- @test str == " LazyRows(::Array{Float64,2}, ::Array{Float64,2})"
671+ if VERSION < v " 1.6-"
672+ @test str == " LazyRows(::Array{Float64,2}, ::Array{Float64,2})"
673+ else
674+ @test str == " LazyRows(::Matrix{Float64}, ::Matrix{Float64})"
675+ end
661676end
662677
663678@testset " refarray" begin
@@ -687,11 +702,19 @@ end
687702 io = IOBuffer ()
688703 Base. showarg (io, s, true )
689704 str = String (take! (io))
690- @test str == " StructArray(::Array{Int64,1}, ::Array{Int64,1}) with eltype Complex{Int64}"
705+ if VERSION < v " 1.6-"
706+ @test str == " StructArray(::Array{Int64,1}, ::Array{Int64,1}) with eltype Complex{Int64}"
707+ else
708+ @test str == " StructArray(::Vector{Int64}, ::Vector{Int64}) with eltype Complex{Int64}"
709+ end
691710 io = IOBuffer ()
692711 Base. showarg (io, s, false )
693712 str = String (take! (io))
694- @test str == " StructArray(::Array{Int64,1}, ::Array{Int64,1})"
713+ if VERSION < v " 1.6-"
714+ @test str == " StructArray(::Array{Int64,1}, ::Array{Int64,1})"
715+ else
716+ @test str == " StructArray(::Vector{Int64}, ::Vector{Int64})"
717+ end
695718end
696719
697720@testset " append!!" begin
0 commit comments