Skip to content

Commit f36bcaf

Browse files
committed
skip tests if Time::Moment is missing
1 parent 6227c27 commit f36bcaf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

t/miscsrc.t

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ for my $f (@files) {
129129
if $f =~ m{/( vbb-stops-to-bbd.pl
130130
| mudways-enrich.pl
131131
)$}x && !eval { require Text::CSV_XS; 1 };
132+
myskip "$f works only with installed Time::Moment", 1
133+
if $f =~ m{/( bvg_disruptions_format.pl
134+
| mapillary-v4-fetch
135+
)$}x && !eval { require Time::Moment; 1 };
132136

133137
my @add_opts;
134138
if ($f =~ m{\.pm$}) {

0 commit comments

Comments
 (0)