diff options
Diffstat (limited to 'test/parallel/test-process-exit-recursive.js')
-rw-r--r-- | test/parallel/test-process-exit-recursive.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-process-exit-recursive.js b/test/parallel/test-process-exit-recursive.js index 57f5c2956f..727aa4abe7 100644 --- a/test/parallel/test-process-exit-recursive.js +++ b/test/parallel/test-process-exit-recursive.js @@ -23,14 +23,14 @@ require('../common'); const assert = require('assert'); -// recursively calling .exit() should not overflow the call stack +// Recursively calling .exit() should not overflow the call stack let nexits = 0; process.on('exit', function(code) { assert.strictEqual(nexits++, 0); assert.strictEqual(code, 1); - // now override the exit code of 1 with 0 so that the test passes + // Now override the exit code of 1 with 0 so that the test passes process.exit(0); }); |