spmason/expectations — pull request #7 by chrisnewtn (2014-07-04 08:35:47+00:00)
Title: Add error message checking to toThrow

Hi Steve, I've found when using expectations, I expect to be able to provide an Error or error message to `toThrow` and for the expectation to fail if it doesn't match the thrown error, so I thought I'd add that functionality.

Feedback hotly anticipated. Cheers!