Permalink
Browse files

fix windows test failure

  • Loading branch information...
1 parent 369e513 commit 9c491a190b9b877ef70b363fb03f9e248d8fa5a9 @xdg xdg committed Mar 10, 2013
Showing with 11 additions and 5 deletions.
  1. +4 −0 Changes
  2. +3 −3 META.json
  3. +1 −1 README.pod
  4. +3 −1 t/helpers.t
View
4 Changes
@@ -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]
View
6 META.json
@@ -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",
@@ -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>"
]
View
2 README.pod
@@ -6,7 +6,7 @@ Path::Iterator::Rule - Iterative, recursive file finder
=head1 VERSION
-version 1.002
+version 1.003
=head1 SYNOPSIS
View
4 t/helpers.t
@@ -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;
@@ -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;

0 comments on commit 9c491a1

Please sign in to comment.