From 7d13b6e04f556288228ba8f12d82a5529eaa40dc Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Fri, 30 Dec 2016 19:12:33 +1100 Subject: [PATCH] fix(test): fixing regexp for older node versions --- test/tap/layouts-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' );