Skip to content

Commit

Permalink
fix assert equals in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydcotten committed Feb 18, 2015
1 parent 3ff0a61 commit b439f06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/connection-pool.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ describe('ConnectionPool', function () {
assert.strictEqual(rowCount, 1);
connection.release();
setTimeout(function () {
assert.equal(pool.connections.length, 0);
assert.equal(pool.connections.length, 1);
pool.drain(done);
}, 200);
});
Expand Down Expand Up @@ -166,7 +166,7 @@ describe('ConnectionPool', function () {
assert.strictEqual(rowCount, 1);
connection.release();
setTimeout(function () {
assert.equal(pool.connections.length, 0);
assert.equal(pool.connections.length, 1);
pool.drain(done);
}, 200);
});
Expand Down

0 comments on commit b439f06

Please sign in to comment.