Merge pull request #334 from gchauvet/master

Fix unitary test failing
This commit is contained in:
Gareth Jones 2015-11-19 09:22:31 +11:00
commit e1eb3bce3b
3 changed files with 2 additions and 7 deletions

6
.gitignore vendored
View File

@ -1,8 +1,6 @@
*.log
*.log??
**/**.log*
build
node_modules
.bob/
test/streams/test-rolling-file-stream*
test/streams/test-rolling-stream-with-existing-files*
test/streams/test-rolling*
.idea

View File

@ -1,2 +0,0 @@
*.log
*.log??

View File

@ -73,7 +73,6 @@ vows.describe('logstashUDP appender').addBatch({
};
assert.equal(JSON.stringify(json.fields), JSON.stringify(fields));
assert.equal(json.message, 'Log event #1');
assert.equal(json.category, 'myCategory');
// Assert timestamp, up to hours resolution.
var date = new Date(json['@timestamp']);
assert.equal(