Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.409 kB
use v6;
use Test;
use LWP::Simple;
# this page is, for now, delivered by a server that does not provide
# a content length or do chunking
my $html = LWP::Simple.get('http://www.rosettacode.org/wiki/Rosetta_Code');
ok(
$html.match('About Rosetta Code') &&
$html.match('</html>') && $html.chars > 12_000,
'make sure we pulled whole document without, we believe, sizing from server'
);
done;
Jump to Line
Something went wrong with that request. Please try again.