Permalink
Browse files

Add test for auto double invoke fix.

  • Loading branch information...
1 parent 2dda7a6 commit 1494e62c77ad0f3a26e9b9c7a7b5f4c528afd22b @allanca allanca committed May 30, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 test/test-async.js
View
@@ -89,10 +89,14 @@ exports['auto'] = function(test){
task4: ['task1', 'task2', function(callback){
callOrder.push('task4');
callback();
+ }],
+ task5: ['task2', function(callback){
+ callOrder.push('task5');
+ callback();
}]
},
function(err){
- test.same(callOrder, ['task2','task3','task1','task4']);
+ test.same(callOrder, ['task2','task5','task3','task1','task4']);
test.done();
});
};

0 comments on commit 1494e62

Please sign in to comment.