Skip to content

Commit

Permalink
Silence warnings in test/file.jl (JuliaLang#53372)
Browse files Browse the repository at this point in the history
Warnings were introduced in JuliaLang#33593.
  • Loading branch information
fatteneder authored and tecosaur committed Mar 4, 2024
2 parents 62767be + 82c1f4f commit f1973c1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/file.jl
Original file line number Diff line number Diff line change
Expand Up @@ -637,9 +637,11 @@ end
MAX_PATH = (Sys.iswindows() ? 260 - length(PATH_PREFIX) : 255) - 9
for i = 0:9
local tmp = joinpath(PATH_PREFIX, "x"^MAX_PATH * "123456789"[1:i])
@test withenv(var => tmp) do
tempdir()
end == tmp
no_error_logging() do
@test withenv(var => tmp) do
tempdir()
end == tmp
end
end
end

Expand Down

0 comments on commit f1973c1

Please sign in to comment.