Permalink
Browse files

Updated tests to still run correctly if other tests failed before rem…

…oveall is called.
  • Loading branch information...
1 parent 4b9c14f commit db01e1781531679a2f805c8a338c98f1c3d1aa33 @Irrelon committed Apr 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/tests.js
View
@@ -74,7 +74,7 @@ exports.count = function (test) {
///////////////////////////////////////////////////
monge.count('test', {'test': 1}, function (err, count) {
test.ifError(err);
- test.equal(count === 1, true, 'Expected count === 1 and got ' + count);
+ test.equal(count >= 1, true, 'Expected count >= 1 and got ' + count);
test.done();
});
});

0 comments on commit db01e17

Please sign in to comment.