diff --git a/blockstore/splitstore/splitstore_test.go b/blockstore/splitstore/splitstore_test.go index 69d308503..db5144039 100644 --- a/blockstore/splitstore/splitstore_test.go +++ b/blockstore/splitstore/splitstore_test.go @@ -54,7 +54,7 @@ func testSplitStore(t *testing.T, cfg *Config) { if err != nil { t.Fatal(err) } - defer ss.Close() + defer ss.Close() //nolint err = ss.Start(chain) if err != nil { @@ -107,7 +107,7 @@ func testSplitStore(t *testing.T, cfg *Config) { if err != nil { t.Fatal(err) } - for _ = range ch { + for range ch { count++ } return count