Skip to content

Commit

Permalink
Merge pull request caolan#80 from Sheile/2fc3ab83d79cd660d39355a4ad51…
Browse files Browse the repository at this point in the history
…897d6f8c3b70

Add test code on existing issue(caolan#24 / caolan#76)
  • Loading branch information
Caolan McMahon committed Feb 13, 2012
2 parents 785349f + 2fc3ab8 commit 6663ac8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/test-async.js
Expand Up @@ -101,6 +101,16 @@ exports['auto no callback'] = function(test){
});
};

// Issue 24 on github: https://github.com/caolan/async/issues#issue/24
// Issue 76 on github: https://github.com/caolan/async/issues#issue/76
exports['auto removeListener has side effect on loop iterator'] = function(test) {
async.auto({
task1: ['task3', function(callback) { test.done() }],
task2: ['task3', function(callback) { /* by design: DON'T call callback */ }],
task3: function(callback) { callback(); },
});
};

exports['waterfall'] = function(test){
test.expect(6);
var call_order = [];
Expand Down

0 comments on commit 6663ac8

Please sign in to comment.