abstract-leveldown
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -28,18 +28,6 @@ module.exports.setUp = function (test, testCommon) { | ||
module.exports.open = function (leveldown, test, testCommon) { | ||
test('test database open, no options', function (t) { | ||
test('test database open, options and callback', function (t) { | ||
var db = leveldown(testCommon.location()) | ||
// default createIfMissing=true, errorIfExists=false | ||
db.open(function (err) { | ||
t.notOk(err, 'no error') | ||
db.close(function () { | ||
t.end() | ||
}) | ||
}) | ||
}) | ||
test('test database open, options', function (t) { | ||
var db = leveldown(testCommon.location()) | ||
// default createIfMissing=true, errorIfExists=false | ||
db.open({}, function (err) { | ||
@@ -70,3 +58,3 @@ t.notOk(err, 'no error') | ||
// make a valid database first, then close and dispose | ||
db.open(function (err) { | ||
db.open({}, function (err) { | ||
t.notOk(err, 'no error') | ||
@@ -73,0 +61,0 @@ db.close(function (err) { |
{ | ||
"name" : "abstract-leveldown" | ||
, "description" : "An abstract prototype matching the LevelDOWN API" | ||
, "version" : "0.2.2" | ||
, "version" : "0.2.3" | ||
, "homepage" : "https://github.com/rvagg/node-abstract-leveldown" | ||
@@ -6,0 +6,0 @@ , "contributors" : [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70538
1461