diff --git a/test/haro_test.js b/test/haro_test.js index f798a57..ae1e90f 100644 --- a/test/haro_test.js +++ b/test/haro_test.js @@ -77,7 +77,7 @@ exports["create (batch)"] = { test: function (test) { var self = this; - test.expect(7); + test.expect(8); test.equal(this.store.total, 0, "Should be '0'"); test.equal(this.store.data.size, 0, "Should be '0'"); this.store.batch(data, "set").then(function() { @@ -86,6 +86,7 @@ exports["create (batch)"] = { test.equal(self.store.registry.length, 6, "Should be '6'"); test.equal(self.store.limit(2, 1)[0][0], self.store.get(self.store.registry[2])[0], "Should be a match"); test.equal(self.store.limit(2, 2)[1][0], self.store.get(self.store.registry[3])[0], "Should be a match"); + test.equal(self.store.limit(10, 5).length, 0, "Should be '0'"); test.done(); }, function (e) { console.log(e.stack);