diff --git a/t/03-cookies.t b/t/03-cookies.t new file mode 100644 index 0000000..3705831 --- /dev/null +++ b/t/03-cookies.t @@ -0,0 +1,11 @@ +use strict; +use warnings; +use lib 'inc'; +use Test::More; +use Net::Curl::Easy qw(:constants); + +plan tests => 1; + +my $easy = Net::Curl::Easy->new(); +eval { $easy->setopt(CURLOPT_COOKIEFILE, '') }; +ok((not $@), 'checking if libcurl was compiled with COOKIES feature');