Skip to content

Commit 708a68b

Browse files
committed
update test
1 parent 2e985e1 commit 708a68b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/file.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1658,18 +1658,18 @@ else
16581658
)
16591659
end
16601660

1661-
@testset "chmod/isexecutable/isreadable/iswriteable/exists" begin
1661+
@testset "chmod/isexecutable/isreadable/iswriteable" begin
16621662
mktempdir() do dir
16631663
subdir = joinpath(dir, "subdir")
16641664
fpath = joinpath(dir, "subdir", "foo")
16651665

1666-
@test !Sys.exists(subdir)
1666+
@test !ispath(subdir)
16671667
mkdir(joinpath(dir, "subdir"))
1668-
@test Sys.exists(subdir)
1668+
@test ispath(subdir)
16691669

1670-
@test !Sys.exists(fpath)
1670+
@test !ispath(fpath)
16711671
touch(fpath)
1672-
@test Sys.exists(fpath)
1672+
@test ispath(fpath)
16731673

16741674
# Test that we can actually set the executable/readable/writeable bit on all platforms.
16751675
chmod(fpath, 0o644)

0 commit comments

Comments
 (0)