File: usage_api.t

package info (click to toggle)
libcli-osprey-perl 0.08-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 200 kB
  • sloc: perl: 843; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 433 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! perl

use Test::More;

use CLI::Osprey::Descriptive::Usage;

ok 'CLI::Osprey::Descriptive::Usage'->can($_), "can_ok $_" for (
       'new',
       'text',
       'leader_text',
       'warn',
       'die',

       # option_text() is part of the Getopt::Long::Descriptive::Usage API, but
       # seems only to be used within ::Usage, so maybe it doesn't need
       # to be implemented?
       # 'option_text',
);


done_testing;