Fixed layout stack trace test

This commit is contained in:
Gareth Jones 2012-08-14 09:44:43 +10:00
parent c6a0e58409
commit de72005e7e

View File

@ -86,7 +86,7 @@ vows.describe('log4js layouts').addBatch({
colour: "green"
, toString: function() { return "ERROR"; }
}
}).match(/Error\s+at Object\.<anonymous>\s+\((.*)test[\\\/]layouts-test\.js\:\d+\:\d+\)\s+at runTest/)
}).match(/Error\s+at Object\..*\s+\((.*)test[\\\/]layouts-test\.js\:\d+\:\d+\)\s+at runTest/)
, 'regexp did not return a match');
},
'with passed augmented errors':