'make check' fixes

This commit is contained in:
Trent Mick 2012-06-20 16:27:41 -07:00
parent c5ba5c0147
commit 49e3c57030
2 changed files with 14 additions and 12 deletions

View file

@ -25,7 +25,7 @@ var log = new Logger({
name: 'raw-example', name: 'raw-example',
streams: [ streams: [
{ {
level: "info", level: 'info',
stream: new MyRawStream(), stream: new MyRawStream(),
raw: true raw: true
}, },

View file

@ -23,10 +23,12 @@ test('raw stream', function (t) {
var log = new Logger({ var log = new Logger({
name: 'raw-stream-test', name: 'raw-stream-test',
streams: [{ streams: [
{
stream: new CapturingStream(recs), stream: new CapturingStream(recs),
raw: true raw: true
}] }
]
}); });
log.info('first'); log.info('first');
log.info({two: 'deux'}, 'second'); log.info({two: 'deux'}, 'second');