Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit ff3d26b

Browse files
committed
test: update test to look for less specific error message
1 parent f480a95 commit ff3d26b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sequential/test-fs-stat-sync-overflow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ const cmd =
3737
`"${process.execPath}" "${fixturesDir}/test-fs-stat-sync-overflow.js"`;
3838

3939
exec(cmd, function(err, stdout, stderr) {
40-
assert(/RangeError: Maximum call stack size exceeded/.test(stderr));
40+
assert(/Error: .*stack/.test(stderr));
4141
});

0 commit comments

Comments
 (0)