summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Argasinski <argasinski.hubert@gmail.com>2017-06-12 23:36:36 -0400
committerHubert Argasinski <argasinski.hubert@gmail.com>2017-06-12 23:36:36 -0400
commit39b20e6da268b2b737df7b068d32620b59011474 (patch)
tree2771c43c40016dca1c1f0950f03e729bba7ca4bb
parent1382f3049f15819c2c5d691600d3e95bbd3918a8 (diff)
downloadasync-39b20e6da268b2b737df7b068d32620b59011474.tar.gz
fix tests (typos)
-rw-r--r--mocha_test/concat.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/mocha_test/concat.js b/mocha_test/concat.js
index bec727e..f84a84b 100644
--- a/mocha_test/concat.js
+++ b/mocha_test/concat.js
@@ -333,7 +333,7 @@ describe('concat', function() {
});
context('concatSeries', function() {
- it('basics', function() {
+ it('basics', function(done) {
var callOrder = [];
var running = 0;
var iteratee = function (x, cb) {
@@ -353,7 +353,7 @@ describe('concat', function() {
async.concatSeries([1,3,2], iteratee, function(err, results) {
expect(results).to.eql([1,3,2,1,2,1]);
expect(running).to.equal(0);
- expect(call_order).to.eql([1,3,2]);
+ expect(callOrder).to.eql([1,3,2]);
assert(err === null, err + " passed instead of 'null'");
done();
});