Update layouts-test.js
This commit is contained in:
parent
9e72189574
commit
069ed31759
@ -198,10 +198,10 @@ vows.describe('log4js layouts').addBatch({
|
||||
test(args, '%r', '14:18:30');
|
||||
},
|
||||
'%d{ISO8601_WITH_TZ_OFFSET} should output time only': function(args) {
|
||||
test(args, '%d{ISO8601_WITH_TZ_OFFSET}', '2010-11-05T14:18:30');
|
||||
test(args, '%d{ISO8601_WITH_TZ_OFFSET}', '2010-12-05T14:18:30');
|
||||
},
|
||||
'%d{yy.MM.dd.hh.mm.ss.sss} should output time only': function(args) {
|
||||
test(args, '%d{yy.MM.dd.hh.mm.ss.sss}', '10.11.05.14.18.30.045');
|
||||
test(args, '%d{yy.MM.dd.hh.mm.ss.SSS}', '10.12.05.14.18.30.045');
|
||||
},
|
||||
'%p should output the log level': function(args) {
|
||||
test(args, '%p', 'DEBUG');
|
||||
|
Loading…
Reference in New Issue
Block a user