mirror of https://github.com/lukechilds/node.git
Browse Source
PR-URL: https://github.com/nodejs/node/pull/10577 Reviewed-By: Italo A. Casas <me@italoacasas.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>v6
1 changed files with 2 additions and 3 deletions
@ -1,9 +1,8 @@ |
|||||
'use strict'; |
'use strict'; |
||||
require('../common'); |
const common = require('../common'); |
||||
const assert = require('assert'); |
|
||||
|
|
||||
process.on('beforeExit', function() { |
process.on('beforeExit', function() { |
||||
assert(false, 'exit should not allow this to occur'); |
common.fail('exit should not allow this to occur'); |
||||
}); |
}); |
||||
|
|
||||
process.exit(); |
process.exit(); |
||||
|
Loading…
Reference in new issue