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