diff options
Diffstat (limited to 't/new/07errbuf.t')
-rw-r--r-- | t/new/07errbuf.t | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/new/07errbuf.t b/t/new/07errbuf.t new file mode 100644 index 0000000..9ecd4f4 --- /dev/null +++ b/t/new/07errbuf.t @@ -0,0 +1,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); |