Skip to content

Commit

Permalink
Get type.html instead of type-exceptions.html
Browse files Browse the repository at this point in the history
It turns out that type.html is more reliable (type-exceptions.html currently
contains no table of exceptions), contains the required string to match, and
has roughly 30K to download (which starts to get close to what is required
for the test).
  • Loading branch information
paultcochrane committed May 24, 2015
1 parent 9068b8e commit 1ccff1f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions t/get-perl6-org.t
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ 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-exceptions.html'
);
$html = LWP::Simple.get('http://doc.perl6.org/type.html');
ok(
$html.match('X::Attribute::Undeclared') &&
$html.match('</html>'),
Expand Down

0 comments on commit 1ccff1f

Please sign in to comment.