Permalink
Browse files

[fix test] Fix broken test assertion from 8ddbcff

  • Loading branch information...
1 parent 3220dd9 commit a0fc098b12ca442473841527476175e10decb373 @indexzero indexzero committed Jul 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/custom-timestamp-test.js
@@ -46,7 +46,7 @@ vows.describe('winston/transport/timestamp').addBatch({
timestamp: false
}),
"with value set to true ": assertTimestamp('defaultTimestamp', {
- pattern: /^\d\d? \w{3}/,
+ pattern: /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z/,
json: false,
timestamp: true
}),

0 comments on commit a0fc098

Please sign in to comment.