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