From 2191045c2611eaef7182a239314b2192c854dfc6 Mon Sep 17 00:00:00 2001 From: Matt Bauman Date: Mon, 27 Mar 2017 12:04:31 -0500 Subject: [PATCH 1/2] Add missing test Followup from #21133 --- test/arrayops.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/arrayops.jl b/test/arrayops.jl index 0c849a5368f62..3baba61a4954e 100644 --- a/test/arrayops.jl +++ b/test/arrayops.jl @@ -958,7 +958,7 @@ end @test m[1,2] == ([2,4],) # issue #21123 - mapslices(nnz, speye(3), 1) == [1, 1, 1] + @test mapslices(nnz, speye(3), 1) == [1, 1, 1] end @testset "single multidimensional index" begin From a59d78c54e09b3b51c915c4a1f23dd6ec41de94b Mon Sep 17 00:00:00 2001 From: Matt Bauman Date: Mon, 27 Mar 2017 14:00:29 -0500 Subject: [PATCH 2/2] Update arrayops.jl --- test/arrayops.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/arrayops.jl b/test/arrayops.jl index 3baba61a4954e..4ad942d900bba 100644 --- a/test/arrayops.jl +++ b/test/arrayops.jl @@ -958,7 +958,7 @@ end @test m[1,2] == ([2,4],) # issue #21123 - @test mapslices(nnz, speye(3), 1) == [1, 1, 1] + @test mapslices(nnz, speye(3), 1) == [1 1 1] end @testset "single multidimensional index" begin