test.pl 283 B

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