Skip to content

Commit b498cac

Browse files
haargoalders
authored andcommitted
remove Test::NoWarnings prereq
Use Test::Warnings instead.
1 parent c78d946 commit b498cac

File tree

5 files changed

+1
-10
lines changed

5 files changed

+1
-10
lines changed

META.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@
103103
"Test::Fatal" : "0",
104104
"Test::Memory::Cycle" : "1.06",
105105
"Test::More" : "0.96",
106-
"Test::NoWarnings" : "1.04",
107106
"Test::Output" : "0",
108107
"Test::Taint" : "1.08",
109108
"Test::Warn" : "0",

Makefile.PL

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ my %WriteMakefileArgs = (
5353
"Test::Fatal" => 0,
5454
"Test::Memory::Cycle" => "1.06",
5555
"Test::More" => "0.96",
56-
"Test::NoWarnings" => "1.04",
5756
"Test::Output" => 0,
5857
"Test::Taint" => "1.08",
5958
"Test::Warn" => 0,
@@ -96,7 +95,6 @@ my %FallbackPrereqs = (
9695
"Test::Fatal" => 0,
9796
"Test::Memory::Cycle" => "1.06",
9897
"Test::More" => "0.96",
99-
"Test::NoWarnings" => "1.04",
10098
"Test::Output" => 0,
10199
"Test::Taint" => "1.08",
102100
"Test::Warn" => 0,

cpanfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ on 'test' => sub {
3636
requires "Test::Fatal" => "0";
3737
requires "Test::Memory::Cycle" => "1.06";
3838
requires "Test::More" => "0.96";
39-
requires "Test::NoWarnings" => "1.04";
4039
requires "Test::Output" => "0";
4140
requires "Test::Taint" => "1.08";
4241
requires "Test::Warn" => "0";

dist.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ Scalar::Util = 1.14
3030
[Prereqs / TestRequires]
3131
HTTP::Daemon = 6.12
3232
Test::Memory::Cycle = 1.06
33-
Test::NoWarnings = 1.04
3433
Test::Taint = 1.08
3534

3635
[Prereqs / DevelopRequires]

t/untaint.t

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ use warnings;
33
use URI::file ();
44

55
use Test::More;
6-
7-
eval 'use Test::NoWarnings';
8-
if ( $@ ) {
9-
plan( skip_all => 'Test::NoWarnings not installed' );
10-
}
6+
use Test::Warnings;
117

128
plan( tests => 2 ); # the use_ok and then the warning check
139
$ENV{test} = 14;

0 commit comments

Comments
 (0)