From 0681cf456460355e85f64b8da85575c861f9664b Mon Sep 17 00:00:00 2001 From: Jan Weidner Date: Sat, 17 Dec 2016 22:01:42 +0100 Subject: [PATCH] fix --- test/arrayops.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/arrayops.jl b/test/arrayops.jl index 2d8598f4e87fc5..185dffbb4026b9 100644 --- a/test/arrayops.jl +++ b/test/arrayops.jl @@ -1953,5 +1953,5 @@ end zs = zeros(SparseMatrixCSC([1 2; 3 4]), Complex{Float64}, (2,3)) test_zeros(zs, SparseMatrixCSC{Complex{Float64}}, (2, 3)) - @test_throws Exception zeros(Float64, [1.]) #19265 + @test_throws MethodError zeros(Float64, [1.]) #19265 end