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

Commit

Permalink
test: update test to look for less specific error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhorton committed Mar 9, 2018
1 parent f480a95 commit ff3d26b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sequential/test-fs-stat-sync-overflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ const cmd =
`"${process.execPath}" "${fixturesDir}/test-fs-stat-sync-overflow.js"`;

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

0 comments on commit ff3d26b

Please sign in to comment.