use warnings;
use strict;

use Test::More tests => 4;

BEGIN { use_ok "Net::HTTP::Tiny", qw(http_get); }

eval { http_get("http://www.irregularwebcomic.net") };
is $@, "", "chunk delimitation";

eval { http_get("http://www.thedailywtf.com") };
is $@, "", "length delimitation";

eval { http_get("http://www.google.co.uk") };
is $@, "", "close delimitation";

1;