Commit graph

12 commits

Author SHA1 Message Date
Trent Mick
7ef6b120db 'make check' clean 2014-08-25 00:50:53 -07:00
Ryan Graham
6b44120d53 test: make throw tests validate was is thrown
When the second argument to nodeunit's assert.throws() is a string it
is used as the failure message, not for exception message matching.

To assert the contents of the exception's message a RegExp must be
used.
2014-08-08 18:28:40 -07:00
Ryan Graham
e4ea3fb05f test: ensure parent type guard is working 2014-08-08 18:28:25 -07:00
Ryan Graham
e8aec58222 test: add test for instanceof ctor guard 2014-08-08 18:25:53 -07:00
Trent Mick
f616276dc6 style: 4-space indents 2013-03-28 17:42:32 -07:00
Trent Mick
bd4dec5bec move test suite to nodeunit 2013-01-07 11:18:12 -08:00
Trent Mick
677a485348 [issue #49] Allow a log.child() to specify the level of inherited streams. 2012-10-22 22:30:00 -07:00
Trent Mick
a1c3c17b84 jsstyle clean 2012-04-27 17:40:56 -07:00
Trent Mick
c7d5f8b240 [issue #12] Add bunyan.createLogger(OPTIONS) form, as is more typical in node.js APIs.
This'll eventually become the preferred form.
2012-04-27 16:20:57 -07:00
Trent Mick
d89444baed Some jsstyle cleaning. 2012-02-10 00:14:33 -08:00
Trent Mick
9f5581b72e issue #3: more type checking of Logger ctor options and log.child options 2012-02-08 10:30:13 -08:00
Trent Mick
450e4eb434 start a test suite 2012-02-08 10:05:56 -08:00