[Pkg-javascript-commits] [node-leveldown] 418/492: fix repair test to look for .ldb not .sst files

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:14:25 UTC 2014


This is an automated email from the git hooks/post-receive script.

andrewrk-guest pushed a commit to annotated tag rocksdb-0.10.1
in repository node-leveldown.

commit e0e3fad0a714ecdaa14ebeaf839e15b946496245
Author: Rod Vagg <rod at vagg.org>
Date:   Sun Sep 29 15:08:02 2013 +1000

    fix repair test to look for .ldb not .sst files
---
 test/repair-test.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/repair-test.js b/test/repair-test.js
index cecb3b7..225a3ac 100644
--- a/test/repair-test.js
+++ b/test/repair-test.js
@@ -38,12 +38,12 @@ makeTest('test repair() compacts', function (db, t, done, location) {
     t.notOk(err, 'no error')
     var files = fs.readdirSync(location)
     t.ok(files.some(function (f) { return (/\.log$/).test(f) }), 'directory contains log file(s)')
-    t.notOk(files.some(function (f) { return (/\.sst$/).test(f) }), 'directory does not contain sst file(s)')
+    t.notOk(files.some(function (f) { return (/\.ldb$/).test(f) }), 'directory does not contain ldb file(s)')
     leveldown.repair(location, function () {
       files = fs.readdirSync(location)
       t.notOk(files.some(function (f) { return (/\.log$/).test(f) }), 'directory does not contain log file(s)')
-      t.ok(files.some(function (f) { return (/\.sst$/).test(f) }), 'directory contains sst file(s)')
+      t.ok(files.some(function (f) { return (/\.ldb$/).test(f) }), 'directory contains ldb file(s)')
       done(false)
     })
   })
-})
\ No newline at end of file
+})

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-leveldown.git



More information about the Pkg-javascript-commits mailing list