blob: 9ecd4f4d3373c5c26d59209b7ec416050cf3b6bd (
plain)
1
2
3
4
5
6
7
8
9
|
use strict;
use Test::Simple tests => 1;
use WWW::Curl::Easy;
my $curl = new WWW::Curl::Easy;
$curl->setopt( CURLOPT_URL, 'badprotocol://127.0.0.1:2' );
$curl->perform;
my $err = $curl->errbuf;
ok($err);
|