1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#!/usr/bin/perl use warnings; use strict; use Test::More; my $rc = 0; $rc = plan tests => 3; diag("Returned: " . sprintf("%d", $rc)); $rc = ok(1, 'First test'); diag("Returned: $rc"); $rc = ok(1, '1'); diag("Returned: $rc"); $rc = ok(1, 'Third test'); diag("Returned: $rc");