Commit e7613971 authored by Jeromy Johnson's avatar Jeromy Johnson Committed by GitHub

Merge pull request #63 from ipfs/fix/query/test

test: fix query test
parents 06fe9d80 bbad852d
......@@ -95,8 +95,9 @@ func SubtestManyKeysAndQuery(t *testing.T, ds dstore.Datastore) {
count := 100
for i := 0; i < count; i++ {
s := fmt.Sprintf("%dkey%d", i, i)
keystrs = append(keystrs, s)
keys = append(keys, dstore.NewKey(s))
dsk := dstore.NewKey(s)
keystrs = append(keystrs, dsk.String())
keys = append(keys, dsk)
buf := make([]byte, 64)
rand.Read(buf)
values = append(values, buf)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment