Skip to content

Commit

Permalink
fix put test on object serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Sep 19, 2016
1 parent beacb0b commit 55a0b04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions abstract/put-test.js
Expand Up @@ -55,8 +55,8 @@ module.exports.args = function (test) {
t.plan(3)
var db = leveldown(testCommon.location())
db._put = function (key, value, opts, callback) {
t.equal(Buffer.isBuffer(key) ? String(key) : key, '[object Object]')
t.equal(Buffer.isBuffer(value) ? String(value) : value, '[object Object]')
t.ok(key)
t.ok(value)
callback()
}
db.put({}, {}, function (err, val) {
Expand Down

0 comments on commit 55a0b04

Please sign in to comment.