You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test that implementation doesn't define public seek, which is currently the case in leveldown and friends. They should define _seek instead. This would require Object.getPrototypeOf shenanigans, making assumptions about the implementation and its prototype chain.
The text was updated successfully, but these errors were encountered:
leveldown/test/iterator-test.js
(innext
branch)iterator#seek throws if target is emptyThe empty-check is currently performed byleveldown
iterator#seek() to string target
iterator#seek() to buffer target
testCommon.bufferKeys
is falseiterator#seek() on reverse iterator
iterator#seek() to out of range target
iterator#seek() on reverse iterator to out of range target
iterator optimized for seek(hooks intoiterator.cache
which is aleveldown
detail)iterator#seek() throws if next() has not completed
close db with open iterator(unrelated)iterator#seek() throws after end()
iterator#seek() respects range
(done)target
is serializedTest that implementation doesn't define publicThis would requireseek
, which is currently the case inleveldown
and friends. They should define_seek
instead.Object.getPrototypeOf
shenanigans, making assumptions about the implementation and its prototype chain.The text was updated successfully, but these errors were encountered: