Permalink
Please sign in to comment.
Browse files
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.
- Loading branch information...
0 comments on commit
d82860a