Skip to content

Commit 44851a3

Browse files
authored
Update setup.jl
1 parent f9ebc75 commit 44851a3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/setup.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ using Base.Experimental: @sync
88

99
include("json.jl")
1010

11-
@test isempty(Test.detect_closure_boxes(Downloads))
11+
if isdefined(Test, :detect_closure_boxes)
12+
@test isempty(Test.detect_closure_boxes(Downloads))
13+
end
1214

1315
function download_body(url::AbstractString; kwargs...)
1416
sprint() do output

0 commit comments

Comments
 (0)