Permalink
Browse files

Add Test::NoWarnings to make sure we don't suddenly get warnings

  • Loading branch information...
1 parent f61b24c commit 7d17f85d96a3a492e48568dc3c34bd951a1fedad @szabgab committed Jan 30, 2011
Showing with 5 additions and 2 deletions.
  1. +1 −0 Makefile.PL
  2. +2 −1 t/001_base.t
  3. +2 −1 t/002_index_route.t
View
@@ -18,6 +18,7 @@ WriteMakefile(
'Template' => 0,
'XML::RSS' => 0,
'Encode' => 0,
+ 'Test::NoWarnings' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'PEG-*' },
View
@@ -1,5 +1,6 @@
-use Test::More tests => 1;
+use Test::More tests => 1+1;
use strict;
use warnings;
+use Test::NoWarnings;
use_ok 'PEG';
View
@@ -1,10 +1,11 @@
use Test::More;
use strict;
use warnings;
+use Test::NoWarnings;
my @pages = qw(/ /rss);
-plan tests => 2 * @pages;
+plan tests => 1 + 2 * @pages;
# the order is important
use PEG;

0 comments on commit 7d17f85

Please sign in to comment.