nagios4/tap/tests/plan/too-many-tests/test.pl
2017-05-19 22:22:40 +02:00

18 lines
212 B
Perl

#!/usr/bin/perl
use warnings;
use strict;
use Test::More;
my $rc = 0;
$rc = plan tests => 5;
diag("Returned: " . sprintf("%d", $rc));
$rc = ok(1);
diag("Returned: $rc");
$rc = ok(0);
diag("Returned: $rc");