Skip to content

Commit 08d5165

Browse files
committed
Fix deprecated Dict syntax
1 parent 093b5d1 commit 08d5165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ try cd(dir) do
2626

2727
contents = [nothing, "foo", "bar", Dict{Any,Any}("baz"=>"qux")]
2828
b = length(contents)
29-
states = [ [ base(b,k,6) => contents[rem(div(k,b^p),b)+1] for k=0:(b^3)^2-1 ] for p=0:5 ]
29+
states = [Dict([(base(b,k,6), contents[rem(div(k,b^p),b)+1]) for k=0:(b^3)^2-1]) for p=0:5]
3030

3131
git_setup(states[1:3]...)
3232
try Git.transact() do

0 commit comments

Comments
 (0)