test.pl 259 B

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