@@ -1445,12 +1445,12 @@ using Base: typed_hvncat
1445
1445
1446
1446
# zero-value behaviors for int form above dimension zero
1447
1447
# e.g. [;;], [;;;], though that isn't valid syntax
1448
- @test hvncat (1 ) == []
1449
- @test hvncat ( 2 ) == Array {Int , 2} (undef, 0 , 0 )
1450
- @test Array {Int , 3} (undef, 0 , 0 , 0 ) == hvncat (3 ) isa Array{Int , 3 }
1451
- @test typed_hvncat (Int, 1 ) == []
1452
- @test typed_hvncat (Int, 2 ) == Array {Int, 2} (undef, 0 , 0 )
1453
- @test typed_hvncat (Int, 3 ) == Array {Int, 3} (undef, 0 , 0 , 0 )
1448
+ @test [] == hvncat (1 ) isa Array{Any, 1 }
1449
+ @test Array {Any , 2} (undef, 0 , 0 , 0 ) == hvncat ( 2 ) isa Array{Any, 2 }
1450
+ @test Array {Any , 3} (undef, 0 , 0 , 0 ) == hvncat (3 ) isa Array{Any , 3 }
1451
+ @test Int[] == typed_hvncat (Int, 1 ) isa Array{Int, 1 }
1452
+ @test Array {Int, 2} (undef, 0 , 0 ) == typed_hvncat (Int, 2 ) isa Array{Int, 2 }
1453
+ @test Array {Int, 3} (undef, 0 , 0 , 0 ) == typed_hvncat (Int, 3 ) isa Array{Int, 3 }
1454
1454
end
1455
1455
1456
1456
@testset " keepat!" begin
0 commit comments