Browse files

* Add a __WARN__ hook so that Test::Output works under 5.6.2

  • Loading branch information...
1 parent 4a0166b commit 931cccdb2ad8f817fbae551c23b719c24990ad6f brian d foy committed Aug 25, 2008
Showing with 3 additions and 0 deletions.
  1. +3 −0 t/count.t
View
3 t/count.t
@@ -7,6 +7,9 @@ use Test::Output;
use File::Spec::Functions qw(catfile);
+$SIG{__WARN__} = sub { print STDERR @_ };
+
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # #
my $class = "SourceCode::LineCounter::Perl";
my @methods = qw(
new reset count

0 comments on commit 931cccd

Please sign in to comment.