summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/cpan/Pod-Usage/t/pod/headwithmarkup.t
blob: adba2bef82ccd8b34c7fa707365bde6451d7fa00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
use Test::More tests => 1;

my $blib = $ENV{PERL_CORE} ? '-I../../lib' : '-Mblib';

my $pl = $0;
$pl =~ s{t$}{pl};

my $out = `$^X $blib $pl`;
$out =~ s{\s+}{ }gs;
$out =~ s{^\s+|\s+$}{}gs;
# we want to make sure that the marked-up text is not lost
is($out, 'backup pkg please dest: Para for backup.');