Skip to content

Commit 4990429

Browse files
committed
silence warnings in tests introduced in #33593
1 parent 88587ab commit 4990429

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/file.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -637,9 +637,11 @@ end
637637
MAX_PATH = (Sys.iswindows() ? 260 - length(PATH_PREFIX) : 255) - 9
638638
for i = 0:9
639639
local tmp = joinpath(PATH_PREFIX, "x"^MAX_PATH * "123456789"[1:i])
640-
@test withenv(var => tmp) do
641-
tempdir()
642-
end == tmp
640+
no_error_logging() do
641+
@test withenv(var => tmp) do
642+
tempdir()
643+
end == tmp
644+
end
643645
end
644646
end
645647

0 commit comments

Comments
 (0)