diff options
Diffstat (limited to 'test/parallel/test-beforeexit-event-exit.js')
-rw-r--r-- | test/parallel/test-beforeexit-event-exit.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/parallel/test-beforeexit-event-exit.js b/test/parallel/test-beforeexit-event-exit.js index 6878135ce4..bd6162a468 100644 --- a/test/parallel/test-beforeexit-event-exit.js +++ b/test/parallel/test-beforeexit-event-exit.js @@ -1,9 +1,8 @@ 'use strict'; -require('../common'); -const assert = require('assert'); +const common = require('../common'); process.on('beforeExit', function() { - assert(false, 'exit should not allow this to occur'); + common.fail('exit should not allow this to occur'); }); process.exit(); |