Skip to content

Commit d764ea4

Browse files
committed
Fix unit tests after rebase
1 parent 1d7d704 commit d764ea4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ function verifyIn (t, db, delay, cb, opts) {
153153
}
154154

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

0 commit comments

Comments
 (0)