test.pl 348 B

12345678910111213141516171819202122
  1. #!/usr/bin/perl
  2. use warnings;
  3. use strict;
  4. use Test::More;
  5. my $rc = 0;
  6. plan tests => 4;
  7. $rc = ok(1, 'Test with no hash');
  8. diag("Returned: $rc");
  9. $rc = ok(1, 'Test with one # hash');
  10. diag("Returned: $rc");
  11. $rc = ok(1, 'Test with # two # hashes');
  12. diag("Returned: $rc");
  13. $rc = ok(1, 'Test with ## back to back hashes');
  14. diag("Returned: $rc");