fix(test): fixing regexp for older node versions

This commit is contained in:
Gareth Jones 2016-12-30 19:12:33 +11:00
parent fdf9558b6d
commit 7d13b6e04f

View File

@ -102,7 +102,7 @@ test('log4js layouts', (batch) => {
}
}
}),
/Error\s+at batch\.test\s+\((.*)test[\\/]tap[\\/]layouts-test\.js:\d+:\d+\)/,
/at Object\.<anonymous>\s+\((.*)test[\\/]tap[\\/]layouts-test\.js:\d+:\d+\)/,
'regexp did not return a match - should print the stacks of a passed error objects'
);