Skip to content

Commit

Permalink
remove obsolete parameters from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Feb 8, 2018
1 parent b353fb4 commit c2f400e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test.js
Expand Up @@ -6,15 +6,15 @@ var AbstractLevelDOWN = require('./').AbstractLevelDOWN
var AbstractIterator = require('./').AbstractIterator
var AbstractChainedBatch = require('./').AbstractChainedBatch

function factory (location, opts) {
return new AbstractLevelDOWN(location, opts)
function factory (location) {
return new AbstractLevelDOWN(location)
}

/**
* Compatibility with basic LevelDOWN API
*/

require('./abstract/leveldown-test').args(factory, test, testCommon)
require('./abstract/leveldown-test').args(factory, test)

require('./abstract/open-test').args(factory, test, testCommon)

Expand All @@ -30,7 +30,7 @@ require('./abstract/put-test').args(test)
require('./abstract/put-get-del-test').setUp(factory, test, testCommon)
require('./abstract/put-get-del-test').errorKeys(test)
// require('./abstract/put-get-del-test').nonErrorKeys(test, testCommon)
require('./abstract/put-get-del-test').errorValues(test)
require('./abstract/put-get-del-test').errorValues()
require('./abstract/put-get-del-test').tearDown(test, testCommon)

require('./abstract/batch-test').setUp(factory, test, testCommon)
Expand Down

0 comments on commit c2f400e

Please sign in to comment.