Skip to content

Commit

Permalink
stupid linter
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Nov 4, 2020
1 parent af682a3 commit 257799e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions chain/store/coalescer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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

Expand Down

0 comments on commit 257799e

Please sign in to comment.