We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d694e02 commit 9f04f17Copy full SHA for 9f04f17
test/reduce.jl
@@ -681,6 +681,13 @@ end
681
end
682
683
684
+@testset "issue #45562" begin
685
+ @test all([true, true, true], dims = 1) == [true]
686
+ @test any([true, true, true], dims = 1) == [true]
687
+ @test_throws TypeError all([3, 3, 3], dims = 1)
688
+ @test_throws TypeError any([3, 3, 3], dims = 1)
689
+end
690
+
691
# issue #45748
692
@testset "foldl's stability for nested Iterators" begin
693
a = Iterators.flatten((1:3, 1:3))
0 commit comments