Skip to content

Commit

Permalink
[v6.d REVIEW] Expand IO::Spec::Unix.basename
Browse files Browse the repository at this point in the history
Include a test with backslash, which isn't a path separator on *nix
  • Loading branch information
zoffixznet committed Sep 15, 2018
1 parent 322694e commit 02ab716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S32-io/io-spec-unix.t
Expand Up @@ -197,7 +197,7 @@ else {

subtest '.basename' => {
my @tests = '' => '', '.' => '.', '/' => '', 'foo/' => '', '/.' => '.',
'foo/.' => '.', 'foo/..' => '..', 'foo/...' => '...',
'foo/.' => '.', 'foo/..' => '..', 'foo/...' => '...', y/\z => \z,
'bar/♥foo' => '♥foo', '♥foo' => '♥foo', '♥foo/..' => '..';

plan +@tests;
Expand Down

0 comments on commit 02ab716

Please sign in to comment.