Skip to content

Commit 547e917

Browse files
authored
Download test to temporary directory (#92)
This is required to make the Julia directory read-only (JuliaLang/julia#38235)
1 parent 685a469 commit 547e917

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
@@ -29,7 +29,7 @@ using Downloads: download
2929
curl == C_NULL && error("curl_easy_init() failed")
3030

3131
url = "https://github.com/JuliaWeb/LibCURL.jl/blob/master/README.md"
32-
filename = joinpath(@__DIR__, "README.md")
32+
filename = joinpath(mktempdir(), "README.md")
3333

3434
@testset "julia download" begin
3535
try

0 commit comments

Comments
 (0)