File: 09_no_test.t

package info (click to toggle)
libtest-synopsis-expectation-perl 0.12-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 216 kB
  • sloc: perl: 303; makefile: 2; sh: 1
file content (28 lines) | stat: -rw-r--r-- 366 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
#!perl

use strict;
use warnings;
use Test::Synopsis::Expectation;
synopsis_ok(*DATA);
done_testing;

__DATA__
=head1 NAME

no-test

=head1 SYNOPSIS

    my $sum;
    $sum = 1; # => 1

The following is invalid. So it should not be tested.

=for test_synopsis_expectation_no_test

    my $sum;
    $sum = 1; # => 2

=head1 AUTHOR

moznion E<lt>moznion@gmail.comE<gt>