fix test/gelfAppender-test.js to reflect full_message being gone

This commit is contained in:
Jens John 2014-07-11 12:38:29 +09:00
parent ca635fc4b9
commit 7ff053f104

View File

@ -119,8 +119,7 @@ vows.describe('log4js gelfAppender').addBatch({
assert.equal(message.host, require('os').hostname());
assert.equal(message.level, 6); //INFO
assert.equal(message.facility, 'nodejs-server');
assert.equal(message.full_message, message.short_message);
assert.equal(message.full_message, 'This is a test');
assert.equal(message.short_message, 'This is a test');
}
}
},
@ -251,7 +250,6 @@ vows.describe('log4js gelfAppender').addBatch({
assert.equal(message._every2, 'Overwritten!'); // the overwritten value
assert.equal(message._myField, 'This is my field!'); // the value for this message only
assert.equal(message.short_message, 'Just testing.'); // skip the field object
assert.equal(message.full_message, 'Just testing.'); // should be as same as short_message
}
}
}