aboutsummaryrefslogtreecommitdiff
path: root/tap/tests/ok/ok-hash/test.pl
blob: 306ddca0bf6c8c266f4262d2de2a93494e9caec2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/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");