Skip to content

Commit

Permalink
apply the megacheck tool to improve code quality
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
  • Loading branch information
zramsay committed May 31, 2017
1 parent 57a3a5d commit 558aaac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions blocks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,8 @@ func TestManualHash(t *testing.T) {

u.Debug = true

block, err = NewBlockWithCid(data, c)
_, err = NewBlockWithCid(data, c)
if err != ErrWrongHash {
t.Fatal(err)
}

}

0 comments on commit 558aaac

Please sign in to comment.