Commit Graph

9 Commits

Author SHA1 Message Date
Leo Balter 666f0e920a
Add assert.throws.early 2017-05-01 12:29:52 -04:00
Mathias Bynens a621155bcd Unify indentation and add .editorconfig (#973) 2017-04-13 10:37:32 -04:00
Leonardo Balter e7f6cd7f86 assert.throws fails if second argument is not a function 2016-04-15 10:14:54 -04:00
Brian Terlson 8870e7bf34 Merge pull request #394 from smikes/quoted-sameValue-strings
Use guillemets («») to quote string values - fixes #174
2015-08-05 11:20:18 -07:00
smikes 4a6f28f075 Use guillemets («») to quote string values - fixes #174
Expected/actual values should be delimited in a way that
isn't confusable with actual string quotes " '
2015-07-30 20:13:49 -06:00
André Bargull a4205bac61 B.1.4 extensions are not allowed for Unicode RegExps 2015-07-08 17:19:59 +02:00
Mike Pennisi c91267235c Extend assertion error messages
When invoked without a custom assertion message, `assert.sameValue` and
`assert.notSameValue` automatically create a message that describes the
actual and expected values.

Extend both assertion methods to also include this information in cases
where a custom message has been specified.
2015-04-21 13:25:02 -04:00
smikes 65e5aa6f79 fix undefined var 2015-02-14 15:02:49 -07:00
Brian Terlson 1f2f7d062f Move assert helper as well 2014-12-09 13:46:53 -08:00