Fix failing test due to #41.

This commit is contained in:
Julien Fontanet 2015-05-26 10:37:14 +02:00
parent 577ca52a5b
commit 6f539e6854

View File

@ -345,8 +345,7 @@ it('specifically requested error source', function(done) {
'process.on("uncaughtException", function (e) { console.log("SRC:" + sms.getErrorSource(e)); });', 'process.on("uncaughtException", function (e) { console.log("SRC:" + sms.getErrorSource(e)); });',
'process.nextTick(foo);' 'process.nextTick(foo);'
], [ ], [
'SRC:', /^SRC:.*\/.original.js:1$/,
/\/.original.js:1$/,
'this is the original code', 'this is the original code',
'^' '^'
]); ]);