chai/lib
laconbass 3741f0516d Avoid error instantiation if possible on assert.throws
Given an error constructor as function, try to get the error name from
its prototype or itself before relying on the old behaviour.

Closes #220

Replaces [the old pull](https://github.com/chaijs/chai/pull/221) to avoid
useless commits.
2014-01-15 18:49:16 +01:00
..
chai Avoid error instantiation if possible on assert.throws 2014-01-15 18:49:16 +01:00
chai.js Release 1.8.1 2013-10-10 06:47:47 -04:00