Skip to content

Commit

Permalink
Added Test::FailWarnings to all tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumeaubert committed May 9, 2013
1 parent d277e3d commit 0998f56
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 15 deletions.
1 change: 1 addition & 0 deletions Build.PL
Expand Up @@ -43,6 +43,7 @@ my $builder = $class->new(
{
'Carp' => 0,
'Test::Builder::Tester' => 0,
'Test::FailWarnings' => 0,
},
requires =>
{
Expand Down
3 changes: 2 additions & 1 deletion META.json
Expand Up @@ -23,7 +23,8 @@
"build" : {
"requires" : {
"Carp" : "0",
"Test::Builder::Tester" : "0"
"Test::Builder::Tester" : "0",
"Test::FailWarnings" : "0"
}
},
"configure" : {
Expand Down
1 change: 1 addition & 0 deletions META.yml
Expand Up @@ -5,6 +5,7 @@ author:
build_requires:
Carp: 0
Test::Builder::Tester: 0
Test::FailWarnings: 0
configure_requires:
Module::Build: 0
dynamic_config: 1
Expand Down
1 change: 1 addition & 0 deletions Makefile.PL
Expand Up @@ -9,6 +9,7 @@ WriteMakefile
'Carp' => 0,
'Data::Dumper' => 0,
'Test::Builder::Tester' => 0,
'Test::FailWarnings' => 0,
'Test::More' => '0.94'
},
'INSTALLDIRS' => 'site',
Expand Down
2 changes: 2 additions & 0 deletions t/00-load.t
Expand Up @@ -3,8 +3,10 @@
use strict;
use warnings;

use Test::FailWarnings -allow_deps => 1;
use Test::More tests => 1;


BEGIN
{
use_ok( 'Test::Dist::VersionSync' ) || print "Bail out!\n";
Expand Down
3 changes: 2 additions & 1 deletion t/10-_get_modules_from_manifest-simple.t
Expand Up @@ -3,8 +3,9 @@
use strict;
use warnings;

use Test::More tests => 10;
use Test::Dist::VersionSync;
use Test::FailWarnings -allow_deps => 1;
use Test::More tests => 10;


use_ok( 'Cwd' );
Expand Down
3 changes: 2 additions & 1 deletion t/11-_get_modules_from_manifest-exclusions.t
Expand Up @@ -3,8 +3,9 @@
use strict;
use warnings;

use Test::More tests => 10;
use Test::Dist::VersionSync;
use Test::FailWarnings -allow_deps => 1;
use Test::More tests => 10;


use_ok( 'Cwd' );
Expand Down
5 changes: 3 additions & 2 deletions t/20-ok_versions-sync.t
Expand Up @@ -3,9 +3,10 @@
use strict;
use warnings;

use Test::More tests => 5;
use Test::Dist::VersionSync;
use Test::Builder::Tester;
use Test::Dist::VersionSync;
use Test::FailWarnings -allow_deps => 1;
use Test::More tests => 5;


use_ok( 'Cwd' );
Expand Down
5 changes: 3 additions & 2 deletions t/21-ok_versions-desync.t
Expand Up @@ -3,9 +3,10 @@
use strict;
use warnings;

use Test::More tests => 5;
use Test::Dist::VersionSync;
use Test::Builder::Tester;
use Test::Dist::VersionSync;
use Test::FailWarnings -allow_deps => 1;
use Test::More tests => 5;


use_ok( 'Cwd' );
Expand Down
5 changes: 3 additions & 2 deletions t/22-ok_versions-modules_list.t
Expand Up @@ -3,9 +3,10 @@
use strict;
use warnings;

use Test::More tests => 5;
use Test::Dist::VersionSync;
use Test::Builder::Tester;
use Test::Dist::VersionSync;
use Test::FailWarnings -allow_deps => 1;
use Test::More tests => 5;


use_ok( 'Cwd' );
Expand Down
5 changes: 3 additions & 2 deletions t/23-ok_versions-empty_list.t
Expand Up @@ -3,9 +3,10 @@
use strict;
use warnings;

use Test::More tests => 1;
use Test::Dist::VersionSync;
use Test::Builder::Tester;
use Test::Dist::VersionSync;
use Test::FailWarnings -allow_deps => 1;
use Test::More tests => 1;


test_out( '1..3')
Expand Down
5 changes: 3 additions & 2 deletions t/24-ok_versions-missing_manifest.t
Expand Up @@ -3,9 +3,10 @@
use strict;
use warnings;

use Test::More tests => 5;
use Test::Dist::VersionSync;
use Test::Builder::Tester;
use Test::Dist::VersionSync;
use Test::FailWarnings -allow_deps => 1;
use Test::More tests => 5;


use_ok( 'Cwd' );
Expand Down
5 changes: 3 additions & 2 deletions t/25-ok_versions-missing_version.t
Expand Up @@ -3,9 +3,10 @@
use strict;
use warnings;

use Test::More tests => 5;
use Test::Dist::VersionSync;
use Test::Builder::Tester;
use Test::Dist::VersionSync;
use Test::FailWarnings -allow_deps => 1;
use Test::More tests => 5;


use_ok( 'Cwd' );
Expand Down

0 comments on commit 0998f56

Please sign in to comment.