| 1 |
#!/usr/bin/perl |
| 2 |
|
| 3 |
use warnings; |
| 4 |
use strict; |
| 5 |
|
| 6 |
use Test::More; |
| 7 |
|
| 8 |
my $rc = 0; |
| 9 |
|
| 10 |
$rc = plan tests => 2; |
| 11 |
diag("Returned: " . sprintf('%d', $rc)); |
| 12 |
|
| 13 |
$rc = fail('test to fail'); |
| 14 |
diag("Returned: $rc"); |
| 15 |
|
| 16 |
$rc = fail('test to fail with extra string'); |
| 17 |
diag("Returned: $rc"); |