Skip to content

Commit

Permalink
Fix unit tests after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Sep 12, 2021
1 parent 50630cf commit 5b63819
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ function verifyIn (t, db, delay, cb, opts) {
}

test('single ttl entry', function (t, db) {
t.throws(db.put.bind(db), { name: 'WriteError', message: 'put() requires key and value arguments' })
t.throws(db.del.bind(db), { name: 'WriteError', message: 'del() requires a key argument' })
t.throws(db.put.bind(db), /^Error: put\(\) requires a callback argument$/)
t.throws(db.del.bind(db), /^Error: del\(\) requires a callback argument$/)
t.end()
})

Expand Down

0 comments on commit 5b63819

Please sign in to comment.