diff --git a/chain/store/coalescer_test.go b/chain/store/coalescer_test.go index cb99690c54..a482414af7 100644 --- a/chain/store/coalescer_test.go +++ b/chain/store/coalescer_test.go @@ -14,7 +14,7 @@ func TestHeadChangeCoalescer(t *testing.T) { notif <- headChange{apply: apply, revert: revert} return nil }, 100*time.Millisecond) - defer c.Close() + defer c.Close() //nolint b0 := mock.MkBlock(nil, 0, 0) root := mock.TipSet(b0) @@ -30,10 +30,10 @@ func TestHeadChangeCoalescer(t *testing.T) { bE := mock.MkBlock(root, 1, 5) tABCDE := mock.TipSet(bA, bB, bC, bD, bE) - c.HeadChange(nil, []*types.TipSet{tA}) - c.HeadChange(nil, []*types.TipSet{tB}) - c.HeadChange([]*types.TipSet{tA, tB}, []*types.TipSet{tAB}) - c.HeadChange([]*types.TipSet{tAB}, []*types.TipSet{tABC}) + c.HeadChange(nil, []*types.TipSet{tA}) //nolint + c.HeadChange(nil, []*types.TipSet{tB}) //nolint + c.HeadChange([]*types.TipSet{tA, tB}, []*types.TipSet{tAB}) //nolint + c.HeadChange([]*types.TipSet{tAB}, []*types.TipSet{tABC}) //nolint change := <-notif