tj / should.js

BDD style assertions for node.js -- test framework agnostic
MIT License
2.75k stars 194 forks source link

Use should.format instead of i() in getMessage() #206

Closed timmckenzie closed 10 years ago

timmckenzie commented 10 years ago

This allows should.format to be overridden. Gives user of should.js ability to use custom formatters.

I have had issues with using Should.js with very large object. Generating exceptions would take several seconds and resulting error message string would be over 2MB.

btd commented 10 years ago

Thanks, published as 3.3.2