(name)
| 308 | // Issue 1092 on github: https://github.com/caolan/async/issues/1092 |
| 309 | it('extended cycle detection', function(done) { |
| 310 | var task = function (name) { |
| 311 | return function (results, callback) { |
| 312 | callback(null, 'task ' + name); |
| 313 | }; |
| 314 | }; |
| 315 | expect(function () { |
| 316 | async.auto({ |
| 317 | a: ['c', task('a')], |