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 authored and tecosaur committed Mar 4, 2024
1 parent 3a8bfe0 commit 82c1f4f
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 82c1f4f

Please sign in to comment.