mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 23:43:09 +01:00
a030c5cf49
Many test modules load assert but do not use it. This change removes those instances. It also removes a handful of other unused variables when they were nearby. PR-URL: https://github.com/nodejs/node/pull/4438 Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
17 lines
341 B
JavaScript
17 lines
341 B
JavaScript
'use strict';
|
|
require('../common');
|
|
|
|
var complete = 0;
|
|
|
|
// This will fail with:
|
|
// FATAL ERROR: JS Allocation failed - process out of memory
|
|
// if the depth counter doesn't clear the nextTickQueue properly.
|
|
(function runner() {
|
|
if (1e8 > ++complete)
|
|
process.nextTick(runner);
|
|
}());
|
|
|
|
setImmediate(function() {
|
|
console.log('ok');
|
|
});
|