[Pkg-javascript-commits] [node-leveldown] 17/23: repair fix
Andrew Kelley
andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:21:54 UTC 2014
This is an automated email from the git hooks/post-receive script.
andrewrk-guest pushed a commit to tag hyper-0.10.2
in repository node-leveldown.
commit 3ce4bc23fb5135a899a23b86005f19fc2c19204a
Author: Rod Vagg <rod at vagg.org>
Date: Wed Oct 9 20:06:51 2013 +1100
repair fix
---
test/repair-test.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/repair-test.js b/test/repair-test.js
index 1e2dae6..0de8e17 100644
--- a/test/repair-test.js
+++ b/test/repair-test.js
@@ -38,11 +38,11 @@ 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 ldb file(s)')
+ t.notOk(files.some(function (f) { return (/\.sst$/).test(f) }), 'directory does not contain sst 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 ldb file(s)')
+ t.ok(files.some(function (f) { return (/\.sst$/).test(f) }), 'directory contains sst file(s)')
done(false)
})
})
--
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