Skip to content

Commit

Permalink
use async.setImmediate
Browse files Browse the repository at this point in the history
  • Loading branch information
aearly committed Apr 3, 2017
1 parent 47f5d1f commit 216d284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mocha_test/queue.js
Expand Up @@ -610,7 +610,7 @@ describe('queue', function(){
var q = async.queue(function(task, cb) {
// nop
calls.push('process ' + task);
setImmediate(cb);
async.setImmediate(cb);
}, 1);

q.empty = function () {
Expand Down

0 comments on commit 216d284

Please sign in to comment.