Skip to content

Commit 35970b1

Browse files
Pontus StenetorpwaTeim
Pontus Stenetorp
authored andcommitted
Fix Win/*NIX discrepancy in the tempname test
Discussion in JuliaLang#9053.
1 parent e94a3c8 commit 35970b1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/file.jl

+3-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,9 @@ my_tempdir = tempdir()
271271
@test isdir(my_tempdir) == true
272272

273273
path = tempname()
274-
@test ispath(path) == false
274+
# Issue #9053.
275+
@unix_only @test ispath(path) == false
276+
@windows_only @test ispath(path) == true
275277

276278
(p, f) = mktemp()
277279
print(f, "Here is some text")

0 commit comments

Comments
 (0)