mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-02-18 04:33:20 +00:00
fix prefix test
This commit is contained in:
parent
bfa3dc85c0
commit
70c1330696
@ -99,7 +99,7 @@ suite "LevelDB Query":
|
||||
|
||||
test "should query by prefix":
|
||||
let
|
||||
q = Query.init(Key.init("/a/*").tryGet)
|
||||
q = Query.init(Key.init("/a").tryGet)
|
||||
iter = (await ds.query(q)).tryGet
|
||||
res = (await allFinished(toSeq(iter)))
|
||||
.mapIt( it.read.tryGet )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user