Add Libtap as a bundled library (does not change any behaviour without --enable-libtap)
[monitoring-plugins.git] / tap / tests / ok / ok-hash / test.pl
blob306ddca0bf6c8c266f4262d2de2a93494e9caec2
1 #!/usr/bin/perl
3 use warnings;
4 use strict;
6 use Test::More;
8 my $rc = 0;
10 $rc = plan tests => 4;
11 diag("Returned: " . sprintf("%d", $rc));
14 $rc = ok(1, 'Test with no hash');
15 diag("Returned: $rc");
17 $rc = ok(1, 'Test with one # hash');
18 diag("Returned: $rc");
20 $rc = ok(1, 'Test with # two # hashes');
21 diag("Returned: $rc");
23 $rc = ok(1, 'Test with ## back to back hashes');
24 diag("Returned: $rc");