File: pod_generation.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 (19 lines) | stat: -rw-r--r-- 313 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use strict;
use warnings;

use Test::More;

use lib 't/lib';

use PodApp;

my $app = PodApp->new;

my( undef, $usage ) = $app->parse_options;

my $pod = $usage->option_pod;

like $pod, qr/some description pod/, 'description_pod is present';
like $pod, qr/some extra pod/, 'extra_pod is present';

done_testing();