Skip to content

Commit 168d18d

Browse files
authored
add a test that there are no Core.Box in Downloads.jl (#289)
1 parent f72cd4d commit 168d18d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

test/setup.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ using Base.Experimental: @sync
88

99
include("json.jl")
1010

11+
if isdefined(Test, :detect_closure_boxes)
12+
@test isempty(Test.detect_closure_boxes(Downloads))
13+
end
14+
1115
function download_body(url::AbstractString; kwargs...)
1216
sprint() do output
1317
download(url, output; kwargs...)

0 commit comments

Comments
 (0)