nagios4/tap/tests/ok/ok-hash/test.pl
2017-05-19 22:22:40 +02:00

25 lines
396 B
Perl

#!/usr/bin/perl
use warnings;
use strict;
use Test::More;
my $rc = 0;
$rc = plan tests => 4;
diag("Returned: " . sprintf("%d", $rc));
$rc = ok(1, 'Test with no hash');
diag("Returned: $rc");
$rc = ok(1, 'Test with one # hash');
diag("Returned: $rc");
$rc = ok(1, 'Test with # two # hashes');
diag("Returned: $rc");
$rc = ok(1, 'Test with ## back to back hashes');
diag("Returned: $rc");