refactor - tests

This commit is contained in:
Jaremy Creechley 2023-09-27 18:50:42 -07:00
parent 1b7866aad2
commit f587677be8
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

@ -50,9 +50,9 @@ suite "Test Basic FSDatastore":
bytes = "some bytes".toBytes
otherBytes = "some other bytes".toBytes
var batch: seq[tuple[key: string, data: seq[byte]]]
var batch: seq[tuple[key: Key, data: seq[byte]]]
for k in 0..<100:
let kk = Key.init($key, $k).tryGet().id()
let kk = Key.init($key, $k).tryGet()
batch.add( (kk, @[k.byte]) )
removeDir(basePathAbs)