Skip to content

Commit

Permalink
one test link now redirected to https which broke the test so use ano…
Browse files Browse the repository at this point in the history
…ther
  • Loading branch information
stmuk committed Jul 8, 2016
1 parent f422f80 commit 4991a1b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions t/get-perl6-org.t
Expand Up @@ -14,9 +14,11 @@ ok(
);

# a page over 64K would be ideal but a bit slow and not really needed yet
$html = LWP::Simple.get('http://doc.perl6.org/type.html');
# beware of this link redirecting to https which will often break the test

$html = LWP::Simple.get('http://examples.perl6.org/categories/99-problems.html');
ok(
$html.match('X::Attribute::Undeclared') &&
$html.match('P91-edpratomo.pl') &&
$html.match('</html>'),
'make sure we pulled down whole document for some substantial size'
);
Expand Down

0 comments on commit 4991a1b

Please sign in to comment.