Skip to content

Commit

Permalink
silence warnings in tests introduced in JuliaLang#33593
Browse files Browse the repository at this point in the history
  • Loading branch information
fatteneder committed Feb 17, 2024
1 parent 88587ab commit 4990429
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 4990429

Please sign in to comment.