test: address nits and rename the corresponding fixture

Refs: https://github.com/nodejs/node/issues/19105

PR-URL: https://github.com/nodejs/node/pull/19161
Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
This commit is contained in:
Ujjwal Sharma 2018-03-06 19:29:21 +05:30 committed by Gus Caplan
parent 635c8c4e1c
commit db30142ece
No known key found for this signature in database
GPG key ID: F00BD11880E82F0E
3 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ const assert = require('assert');
const { exec } = require('child_process');
const cmd =
`"${process.execPath}" "${fixturesDir}/test-regress-GH-4015.js"`;
`"${process.execPath}" "${fixturesDir}/test-fs-stat-sync-overflow.js"`;
exec(cmd, function(err, stdout, stderr) {
assert(/RangeError: Maximum call stack size exceeded/.test(stderr));