funkatron/FUnit — pull request #6 by epixa (2012-10-09 02:35:18+00:00)
Title: Added test type for asserting a thrown exception

Sometimes it is useful to test functionality that throws known exceptions given
specific conditions. The only existing solution was to pass to ok() an anonymous
function that manually caught and verified the exception type.

This method is nicer.