File: multiline_items.t

package info (click to toggle)
libpod-parser-perl 1.65-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 476 kB
  • sloc: perl: 2,270; sh: 9; makefile: 2
file content (37 lines) | stat: -rwxr-xr-x 611 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
BEGIN {
   use File::Basename;
   my $THISDIR = dirname $0;
   unshift @INC, $THISDIR;
   require "testp2pt.pl";
   import TestPodIncPlainText;
}

my %options = map { $_ => 1 } @ARGV;  ## convert cmdline to options-hash
my $passed  = testpodplaintext \%options, $0;
exit( ($passed == 1) ? 0 : -1 )  unless $ENV{HARNESS_ACTIVE};


__END__


=head1 Test multiline item lists

This is a test to ensure that multiline =item paragraphs
get indented appropriately.

=over 4 

=item This 
is
a
test.

=item Example with only verbatim content

 {
   "json": "stuff"
 }

=back

=cut