Permalink
Browse files

fix massvie warning messages

  • Loading branch information...
1 parent 646a68b commit 0b5068334e861010121d478016942bc3fd080d94 @gugod gugod committed May 9, 2009
Showing with 13 additions and 5 deletions.
  1. +3 −0 Changes
  2. +5 −4 lib/Test/Continuous.pm
  3. +5 −1 t/00.load.t
View
@@ -1,5 +1,8 @@
Revision history for Test-Continuous
+0.66:
+- fix the massive warning coming from File::Modified.
+
0.65:
- Support TAP::Harness::Remote
View
@@ -35,8 +35,6 @@ sub _files {
return if ! -f $filename;
return unless $filename =~ /\.(p[lm]|t)$/;
- $filename =~ s[^$cwd][];
-
push @files, $filename;
}, $cwd;
return @files;
@@ -55,8 +53,11 @@ sub _tests_to_run {
}
}
- my @tests_to_run = uniq sort map {
- if (/.t$/) {
+ my $cwd = getcwd . "/";
+ my @tests_to_run = map {
+ s/^$cwd//; $_;
+ } uniq sort map {
+ if (/\.t$/) {
$_;
}
else {
View
@@ -1,7 +1,11 @@
+use strict;
+use warnings;
use Test::More tests => 1;
BEGIN {
-use_ok( 'Test::Continuous' );
+ use_ok( 'Test::Continuous' );
}
diag( "Testing Test::Continuous $Test::Continuous::VERSION" );
+
+

0 comments on commit 0b50683

Please sign in to comment.