You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my@m;
push@m, Test::MockFile->dir('/a/long/path');
push@m, Test::MockFile->dir('/a/long/path/here');
mkdir'/a/long/path';
mkdir'/a/long/path/here';
opendir(my$fh, '/a/long/path');
my@files = readdir$fh;
is(\@files, [qw/. .. here/], "opendir for only dirs dir is right");
not ok 31 - opendir for only dirs dir is right
# Failed test 'opendir for only dirs dir is right'
# at t/opendir.t line 80.
# +------+------------------+-------+
# | PATH | GOT | CHECK |
# +------+------------------+-------+
# | [2] | <DOES NOT EXIST> | here |
# +------+------------------+-------+
The text was updated successfully, but these errors were encountered:
When `opendir()` is run, it creates an object for the directory using
the content of that directory. The `contents()` method did not include
directories in the listing.
Resolves GH cpanel#105.
When `opendir()` is run, it creates an object for the directory using
the content of that directory. The `contents()` method did not include
directories in the listing.
Resolves GH #105.
The text was updated successfully, but these errors were encountered: