Skip to content

Commit

Permalink
[v6.dt REVIEW] Expan IO::Spec::Win32.basename
Browse files Browse the repository at this point in the history
Include test with backslash in path, which is a path sep on Win32

Orig: c3c51ede0
  • Loading branch information
zoffixznet committed Sep 15, 2018
1 parent 02ab716 commit c91244e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S32-io/io-spec-win.t
Expand Up @@ -303,7 +303,7 @@ else {

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

Expand Down

0 comments on commit c91244e

Please sign in to comment.