Ticket #1169 (closed patch: fixed)

Opened 12 years ago

Last modified 12 years ago

[PATCH] lives_ok() for Test::More

Reported by: bubaflub Owned by: dukeleto
Priority: normal Milestone:
Component: testing Version: 1.7.0
Severity: medium Keywords:
Cc: Language:
Patch status: applied Platform: all


This is a patch for lives_ok() which passes if the code tested throws no errors. Basically the antithesis of throws_like(). Comes with four tests. Patch attached.


lives_ok.patch Download (4.7 KB) - added by bubaflub 12 years ago.

Change History

Changed 12 years ago by bubaflub

Changed 12 years ago by dukeleto

  • owner set to dukeleto
  • status changed from new to assigned

Changed 12 years ago by dukeleto

  • status changed from assigned to closed
  • platform set to all
  • resolution set to fixed
  • patch set to applied

The patch had am incorrect plan and was failing one coding standard test, but was otherwise great! Keep 'em coming.

I would like to see dies_ok() as well.

Note: See TracTickets for help on using tickets.