aboutsummaryrefslogtreecommitdiff
path: root/tap/tests/plan/too-many-plans/test.pl
blob: 893e5fc0d4b93aa5167d4763b8a06a61ceb74988 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/perl

use warnings;
use strict;

use Test::More;

my $rc = 0;

$rc = plan tests => 1;
diag("Returned: " . sprintf("%d", $rc));

$rc = ok(1);
diag("Returned: $rc");

$rc = plan tests => 1;
diag("Returned: $rc");

$rc = ok(0);
diag("Returned: $rc");