| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c42eb5d commit efe9b97
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,11 +20,8 @@ | |||
| 20 | 20 | // USE OR OTHER DEALINGS IN THE SOFTWARE. | |
| 21 | 21 | ||
| 22 | 22 | 'use strict'; | |
| 23 | - require('../common'); | ||
| 24 | - const assert = require('assert'); | ||
| 23 | + const { mustNotCall } = require('../common'); | ||
| 25 | 24 | ||
| 26 | - process.on('beforeExit', function() { | ||
| 27 | - assert.fail('exit should not allow this to occur'); | ||
| 28 | - }); | ||
| 25 | + process.on('beforeExit', mustNotCall('exit should not allow this to occur')); | ||
| 29 | 26 | ||
| 30 | 27 | process.exit(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments