Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix obsolete .directory -> .dirname
  • Loading branch information
lizmat committed Nov 29, 2014
1 parent 8167450 commit 98d86f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S32-io/io-path-unix.t
Expand Up @@ -12,7 +12,7 @@ my $relpath = IO::Path::Unix.new('foo/bar' );
my $abspath = IO::Path::Unix.new('/foo/bar');
isa_ok $abspath, IO::Path, "Can create IO::Path::Unix";
is $abspath.volume, "", "volume is empty on POSIX";
is $abspath.directory, "/foo", 'directory "/foo/bar" -> "/foo"';
is $abspath.dirname, "/foo", 'dirname "/foo/bar" -> "/foo"';
is $abspath.basename, "bar", 'basename "/foo/bar" -> "bar"';

my $path = IO::Path::Unix.new('foo//bar//');
Expand Down

0 comments on commit 98d86f1

Please sign in to comment.