@@ -628,12 +628,19 @@ end
628
628
io = IOBuffer ()
629
629
Base. showarg (io, rows, true )
630
630
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
632
636
io = IOBuffer ()
633
637
Base. showarg (io, rows, false )
634
638
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
637
644
s = StructArray ((rand (10 , 10 ), rand (10 , 10 )))
638
645
rows = LazyRows (s)
639
646
@test IndexStyle (rows) isa IndexLinear
@@ -653,11 +660,19 @@ end
653
660
io = IOBuffer ()
654
661
Base. showarg (io, rows, true )
655
662
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
657
668
io = IOBuffer ()
658
669
Base. showarg (io, rows, false )
659
670
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
661
676
end
662
677
663
678
@testset " refarray" begin
@@ -687,11 +702,19 @@ end
687
702
io = IOBuffer ()
688
703
Base. showarg (io, s, true )
689
704
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
691
710
io = IOBuffer ()
692
711
Base. showarg (io, s, false )
693
712
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
695
718
end
696
719
697
720
@testset " append!!" begin
0 commit comments