Acme-MetaSyntactic-daleks
view release on metacpan or search on metacpan
t/ams-90up2date.t view on Meta::CPAN
444546474849505152535455565758596061626364my
$has_test_diff
= $@ eq
''
;
# a little warning
diag
"Testing @{[scalar @themes]} themes using the network (may take a while)"
;
# compare each theme data with the network
for
my
$theme
(
@themes
) {
SKIP: {
no
warnings
'utf8'
;
skip
"$theme ignored upon request"
, 2
if
!
$test
{
$theme
};
my
$current
= [
sort
$theme
->name(0) ];
my
$online
= [
sort
$theme
->remote_list() ];
SKIP: {
skip
"Fetching remote items for $theme probably failed"
, 2
if
@$online
== 0;
# count
is(
scalar
@$current
,
( run in 0.990 second using v1.01-cache-2.11-cpan-49f99fa48dc )