Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't run pod-htmlify if URI::Escape isn't installed
  • Loading branch information
Paul Cochrane committed Feb 28, 2015
1 parent d12c47b commit ab78bc1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions t/pod-htmlify.t
Expand Up @@ -2,6 +2,19 @@ use v6;
use Test;
use lib 'lib';

BEGIN {
try {
EVAL "use URI::Escape";
CATCH {
default {
warn "URI::Escape required to run these tests";
plan 0;
exit;
}
}
}
}

plan 3;

use-ok('Pod::Htmlify');
Expand Down

0 comments on commit ab78bc1

Please sign in to comment.