Revision 68a7345e
Von Sven Schöling vor fast 13 Jahren hinzugefügt
t/007broken_links.t | ||
---|---|---|
8 | 8 |
|
9 | 9 |
use strict; |
10 | 10 |
use File::Find; |
11 |
use LWP::Simple; |
|
12 |
use Test::More tests => 1; |
|
13 |
use URI::Find; |
|
11 |
use Test::More; |
|
12 |
|
|
13 |
if (eval " use LWP::Simple; use URI::Find; 1 ") { |
|
14 |
plan tests => 1; |
|
15 |
} else { |
|
16 |
plan skip_all => "LWP::Simple or URI::Find not installed"; |
|
17 |
} |
|
14 | 18 |
|
15 | 19 |
my @fails; |
16 | 20 |
|
Auch abrufbar als: Unified diff
Test skippen wenn nötige Pakete nicht installiert sind.