Commit 2f1a02b4 authored by Steven Allen's avatar Steven Allen

nit: gofmt

parent 4216e281
...@@ -96,7 +96,7 @@ bafybeietjgsrl3eqpqpcabv3g6iubytsifvq24xrrhd3juetskltgq7dja. ...@@ -96,7 +96,7 @@ bafybeietjgsrl3eqpqpcabv3g6iubytsifvq24xrrhd3juetskltgq7dja.
offset := 0 offset := 0
for len(buf) > 0 { for len(buf) > 0 {
_, j, _, cidStr := ScanForCid(buf) _, j, _, cidStr := ScanForCid(buf)
if cidStr != "" && cids[idx] != cidStr { if cidStr != "" && cids[idx] != cidStr {
t.Fatalf("Scan failed, expected %s, got %s (idx=%d offset=%d)", cids[idx], cidStr, idx, offset) t.Fatalf("Scan failed, expected %s, got %s (idx=%d offset=%d)", cids[idx], cidStr, idx, offset)
} }
buf = buf[j:] buf = buf[j:]
......
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