From 257799e4728c431fd183dd14904f45d5f8bda9d5 Mon Sep 17 00:00:00 2001 From: vyzo Date: Wed, 4 Nov 2020 18:25:54 +0200 Subject: [PATCH] stupid linter --- chain/store/coalescer_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chain/store/coalescer_test.go b/chain/store/coalescer_test.go index cb99690c54c..a482414af71 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