Skip to content

Commit abb350c

Browse files
haargoalders
authored andcommitted
make Test::Taint a normal prereq
Don't allow tests to pass when prereqs are missing.
1 parent 9aa658a commit abb350c

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

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::Taint = 1.08
3433

3534
[Prereqs / DevelopRequires]
3635
LWP::Protocol::https = 6.07

t/taint.t

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,8 @@
22

33
use warnings;
44
use strict;
5-
use Test::More;
6-
7-
BEGIN {
8-
eval 'use Test::Taint';
9-
plan skip_all => 'Test::Taint required for checking taintedness' if $@;
10-
plan tests=>6;
11-
}
5+
use Test::More tests => 6;
6+
use Test::Taint 1.08;
127

138
BEGIN {
149
use_ok( 'WWW::Mechanize' );

0 commit comments

Comments
 (0)