File: 20undefined_subs.t

package info (click to toggle)
libwww-curl-perl 4.17-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 584 kB
  • sloc: perl: 1,909; makefile: 5
file content (20 lines) | stat: -rw-r--r-- 470 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!perl -w
use strict;
use Test::More tests => 4;

use WWW::Curl::Easy;
use WWW::Curl::Share;
use WWW::Curl::Multi;
use WWW::Curl::Form;

eval { WWW::Curl::Easy->no_such_method0 };
like $@, qr/\b no_such_method0 \b/xms;

eval { WWW::Curl::Share->no_such_method1 };
like $@, qr/\b no_such_method1 \b/xms;

eval { WWW::Curl::Multi->no_such_method2 };
like $@, qr/\b no_such_method2 \b/xms;

eval { WWW::Curl::Form->no_such_method3 };
like $@, qr/\b no_such_method3 \b/xms;