From c6c646ccd1360dfcf6c73d48ce4c472c21603bb7 Mon Sep 17 00:00:00 2001 From: Louis Chatriot Date: Thu, 30 May 2013 15:21:43 +0200 Subject: [PATCH] Typos --- test/db.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/db.test.js b/test/db.test.js index 1ee8935..ac5ad6a 100644 --- a/test/db.test.js +++ b/test/db.test.js @@ -1274,7 +1274,6 @@ describe('Database', function () { err.key.should.equal("1"); d.data.length.should.equal(0); d.datafileSize.should.equal(0); - d.indexes.z.tree.getNumberOfKeys().should.equal(0); done(); @@ -1282,7 +1281,7 @@ describe('Database', function () { }); }); - it('If a unique constraint is not respected, ensureIndex will return an error', function (done) { + it('If a unique constraint is not respected, ensureIndex will return an error and not create an index', function (done) { d.insert({ a: 1, b: 4 }, function () { d.insert({ a: 2, b: 45 }, function () { d.insert({ a: 1, b: 3 }, function () {