summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/test-async.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/test-async.js b/test/test-async.js
index 6cce049..ee0b950 100755
--- a/test/test-async.js
+++ b/test/test-async.js
@@ -426,7 +426,6 @@ exports['auto results'] = function(test){
});
};
-
exports['auto empty object'] = function(test){
async.auto({}, function(err){
test.ok(err === null, err + " passed instead of 'null'");
@@ -461,6 +460,13 @@ exports['auto no callback'] = function(test){
});
};
+exports['auto concurrency no callback'] = function(test){
+ async.auto({
+ task1: function(callback){callback();},
+ task2: ['task1', function(callback){callback(); test.done();}]
+ }, 1);
+};
+
exports['auto error should pass partial results'] = function(test) {
async.auto({
task1: function(callback){