Skip to content

Commit

Permalink
may be better to use the length method (#1420)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengjunxin authored and hargasinski committed May 21, 2017
1 parent c1142c7 commit 21ab91a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mocha_test/queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ describe('queue', function(){
}, 5);

setTimeout(function () {
expect(q._tasks.length).to.equal(1);
expect(q.length()).to.equal(1);
expect(q.running()).to.equal(2);
q.resume();
}, 15);
Expand Down

0 comments on commit 21ab91a

Please sign in to comment.