From e767937d8fcb1f33b9509c69cf1075e7b602173c Mon Sep 17 00:00:00 2001 From: Sean Garborg Date: Mon, 27 Oct 2014 13:32:25 -0600 Subject: [PATCH] Avoid deprecation warnings on Julia 0.4 --- test/adjlist.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/adjlist.jl b/test/adjlist.jl index 16c668a7..d553212e 100644 --- a/test/adjlist.jl +++ b/test/adjlist.jl @@ -49,7 +49,7 @@ add_edge!(gd, 2, 3) @test num_edges(gd) == 3 -nbs = {[2, 3], [3], Int[]} +nbs = Any[[2, 3], [3], Int[]] for i = 1 : 3 @test out_degree(i, gd) == length(nbs[i]) @test out_neighbors(i, gd) == nbs[i] @@ -60,7 +60,7 @@ add_edge!(gu, 2, 3) @test num_edges(gu) == 2 -nbs = {[2], [1, 3], [2]} +nbs = Any[[2], [1, 3], [2]] for i = 1 : 3 @test out_degree(i, gu) == length(nbs[i]) @test out_neighbors(i, gu) == nbs[i]