[Pkg-javascript-commits] [node-async] 194/480: Add test for auto double invoke fix.
Jonas Smedegaard
js at moszumanska.debian.org
Fri May 2 08:58:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository node-async.
commit 1494e62c77ad0f3a26e9b9c7a7b5f4c528afd22b
Author: Allan Carroll <allanca at gmail.com>
Date: Tue May 29 22:33:28 2012 -0700
Add test for auto double invoke fix.
---
test/test-async.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/test/test-async.js b/test/test-async.js
index ac45272..52f5536 100644
--- a/test/test-async.js
+++ b/test/test-async.js
@@ -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();
});
};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-async.git
More information about the Pkg-javascript-commits
mailing list