Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

had forgotten .all test, had i had it, the bug in previous commit wou…

…ldn't have happened
  • Loading branch information...
commit f2578e9144cfa8c2969eea1097f3b35e87161241 1 parent dbd5e18
@pkrumins authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 test/json.js
View
9 test/json.js
@@ -43,6 +43,15 @@ exports['json'] = function (assert) {
function (err, key, val) {
assert.equal(key, 'substack');
assert.equal(val.age, 22);
+ },
+ function () {
+ db.all(function (aErr, keys, vals) {
+ assert.ok(!aErr);
+ assert.equal(keys.length, 2);
+ assert.equal(vals.length, 2);
+ assert.ok('pkrumins' == keys[0] || 'pkrumins' == keys[1]);
+ assert.ok('substack' == keys[0] || 'substack' == keys[1]);
+ });
}
);
})
Please sign in to comment.
Something went wrong with that request. Please try again.