Skip to content

Commit

Permalink
add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Feb 26, 2024
1 parent d81af8e commit be8833f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/file.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1441,6 +1441,10 @@ rm(dirwalk, recursive=true)
touch(randstring())
end
@test issorted(readdir())
@test issorted(readdirx())
@test map(o->o.name, readdirx()) == readdir()
@test map(o->o.path, readdirx()) == readdir(join=true)
@test count(isfile, readdir(join=true)) == count(isfile, readdirx())
end
end
end
Expand Down

0 comments on commit be8833f

Please sign in to comment.