Skip to content

Commit

Permalink
Added tests for files with paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mdom committed Dec 15, 2016
1 parent 3533f9b commit d96be0c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions t/01split.t
Expand Up @@ -38,6 +38,14 @@ my @tests = (
[ 'foo[first book]', 'read,good', '.ext' ] =>
'File with tags and squares and extension'
],
[
'/foo/bar[quux].txt' => [ '/foo/bar', 'quux', '.txt' ] =>
'File with path'
],
[
'c:\foo\bar[quux].txt' => [ 'c:\foo\bar', 'quux', '.txt' ] =>
'File with windows path'
],
);

for my $t (@tests) {
Expand Down

0 comments on commit d96be0c

Please sign in to comment.