8000 fix(test): fixing regexp for older node versions · WebHu/log4js-node@7d13b6e · GitHub
[go: up one dir, main page]

Skip to content

Commit 7d13b6e

Browse files
author
Gareth Jones
committed
fix(test): fixing regexp for older node versions
1 parent fdf9558 commit 7d13b6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/tap/layouts-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ test('log4js layouts', (batch) => {
102102
}
103103
}
104104
}),
105-
/Error\s+at batch\.test\s+\((.*)test[\\/]tap[\\/]layouts-test\.js:\d+:\d+\)/,
105+
/at Object\.<anonymous>\s+\((.*)test[\\/]tap[\\/]layouts-test\.js:\d+:\d+\)/,
106106
'regexp did not return a match - should print the stacks of a passed error objects'
107107
);
108108

0 commit comments

Comments
 (0)
0