Skip to content

Commit

Permalink
fix windows test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
xdg committed Mar 10, 2013
1 parent 369e513 commit 9c491a1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions Changes
Expand Up @@ -2,6 +2,10 @@ Revision history for Path-Iterator-Rule

{{$NEXT}}

[FIXED]

- Fixed Windows test failure

1.002 2013-03-08 22:35:51 America/New_York

[FIXED]
Expand Down
6 changes: 3 additions & 3 deletions META.json
Expand Up @@ -75,11 +75,11 @@
"provides" : {
"PIR" : {
"file" : "lib/PIR.pm",
"version" : "1.002"
"version" : "1.003"
},
"Path::Iterator::Rule" : {
"file" : "lib/Path/Iterator/Rule.pm",
"version" : "1.002"
"version" : "1.003"
}
},
"release_status" : "stable",
Expand All @@ -94,7 +94,7 @@
"web" : "https://github.com/dagolden/path-iterator-rule"
}
},
"version" : "1.002",
"version" : "1.003",
"x_contributors" : [
"Graham Knop <haarg@haarg.org>"
]
Expand Down
2 changes: 1 addition & 1 deletion README.pod
Expand Up @@ -6,7 +6,7 @@ Path::Iterator::Rule - Iterative, recursive file finder

=head1 VERSION

version 1.002
version 1.003

=head1 SYNOPSIS

Expand Down
4 changes: 3 additions & 1 deletion t/helpers.t
Expand Up @@ -2,11 +2,13 @@ use 5.006;
use strict;
use warnings;
use Test::More 0.92;
use Test::Filename 0.03;
use File::Temp;
use File::pushd qw/pushd/;

use lib 't/lib';
use PCNTest;
use Path::Tiny;

use Path::Iterator::Rule;

Expand Down Expand Up @@ -38,7 +40,7 @@ like( $@, qr/Can't add rule 'txt'/, "exception if helper exists" );
my $rule = Path::Iterator::Rule->new->file->txt;
@files = $rule->all($td, {relative => 1});
is( scalar @files, 1, "All: one file" ) or diag explain \@files;
is( $files[0], "data/file1.txt", "got expected file" )
filename_is( $files[0], "data/file1.txt", "got expected file" )
}

done_testing;
Expand Down

0 comments on commit 9c491a1

Please sign in to comment.