mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-13 02:43:07 +00:00
applies formatting
This commit is contained in:
parent
870f6ccd8b
commit
f5f1fa96ab
@ -91,7 +91,7 @@ checksuite "Pending Blocks - inFlight":
|
||||
blk = bt.Block.new("Hello".toBytes).tryGet
|
||||
addrs = BlockAddress.init(blk.cid)
|
||||
discard pendingBlocks.getWantHandle(addrs)
|
||||
|
||||
|
||||
proc req(): BlockReq =
|
||||
pendingBlocks.blocks[addrs]
|
||||
|
||||
@ -100,13 +100,13 @@ checksuite "Pending Blocks - inFlight":
|
||||
|
||||
check:
|
||||
req().inFlight
|
||||
|
||||
|
||||
test "Sets inFlight (multiple)":
|
||||
pendingBlocks.setInFlight(@[addrs])
|
||||
|
||||
check:
|
||||
req().inFlight
|
||||
|
||||
|
||||
test "IsInFlight":
|
||||
pendingBlocks.setInFlight(addrs)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user