Skip to content

Commit be8833f

Browse files
add more tests
1 parent d81af8e commit be8833f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/file.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1441,6 +1441,10 @@ rm(dirwalk, recursive=true)
14411441
touch(randstring())
14421442
end
14431443
@test issorted(readdir())
1444+
@test issorted(readdirx())
1445+
@test map(o->o.name, readdirx()) == readdir()
1446+
@test map(o->o.path, readdirx()) == readdir(join=true)
1447+
@test count(isfile, readdir(join=true)) == count(isfile, readdirx())
14441448
end
14451449
end
14461450
end

0 commit comments

Comments
 (0)