Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
simplify URI::Escape requirement in pod-htmlify.t
  • Loading branch information
timo committed Feb 28, 2015
1 parent ab78bc1 commit b0c06de
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions t/pod-htmlify.t
Expand Up @@ -2,17 +2,10 @@ 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;
}
}
}
unless (try require URI::Escape) {
warn "URI::Escape required to run these tests";
plan 0;
exit;
}

plan 3;
Expand Down

0 comments on commit b0c06de

Please sign in to comment.