@@ -108,12 +108,12 @@ end
108
108
@test @inferred (ArrayInterface. known_dimnames (Iterators. flatten (1 : 10 ))) === (:_ ,)
109
109
@test @inferred (ArrayInterface. known_dimnames (Iterators. flatten (1 : 10 ), static (1 ))) === :_
110
110
@test @inferred (ArrayInterface. known_dimnames (z)) === (nothing , :y )
111
- @test @inferred (ArrayInterface. known_dimnames (reshape (x, (1 , 4 )))) == d
112
- @test @inferred (ArrayInterface. known_dimnames (r1)) == d
113
- @test @inferred (ArrayInterface. known_dimnames (r2)) == (:_ , d ... )
114
- @test @inferred (ArrayInterface. known_dimnames (r3)) == Base . tail (d )
115
- @test @inferred (ArrayInterface. known_dimnames (r4)) == d
116
- @test @inferred (ArrayInterface. known_dimnames (w)) == d
111
+ @test @inferred (ArrayInterface. known_dimnames (reshape (x, (1 , 4 )))) === ( :x , :y )
112
+ @test @inferred (ArrayInterface. known_dimnames (r1)) === ( :x , :y )
113
+ @test @inferred (ArrayInterface. known_dimnames (r2)) === (:_ , :x , :y )
114
+ @test @inferred (ArrayInterface. known_dimnames (r3)) === ( :y , )
115
+ @test @inferred (ArrayInterface. known_dimnames (r4)) === ( :x , :y )
116
+ @test @inferred (ArrayInterface. known_dimnames (w)) === ( :x , :y )
117
117
@test @inferred (ArrayInterface. known_dimnames (reshape (x, :))) === (:_ ,)
118
118
@test @inferred (ArrayInterface. known_dimnames (view (x, :, 1 )' )) === (:_ , :x )
119
119
end
0 commit comments