mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-05-29 23:00:05 +00:00
nph tests
This commit is contained in:
parent
5cd506dd3b
commit
4191d94090
@ -63,8 +63,8 @@ checksuite "Pending Blocks":
|
||||
discard blks.mapIt(pendingBlocks.getWantHandle(it.cid))
|
||||
|
||||
check:
|
||||
blks.mapIt( $BlockAddress.init(it.cid) ).sorted(cmp[string]) ==
|
||||
toSeq(pendingBlocks.wantList).mapIt( $it ).sorted(cmp[string])
|
||||
blks.mapIt($BlockAddress.init(it.cid)).sorted(cmp[string]) ==
|
||||
toSeq(pendingBlocks.wantList).mapIt($it).sorted(cmp[string])
|
||||
|
||||
test "Should get want handles list":
|
||||
let
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user