Skip to content

Commit

Permalink
appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgrinaker committed Jun 28, 2020
1 parent 659e325 commit 051ce8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions export_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ func setupExportTreeBasic(t require.TestingT) *ImmutableTree {
}

// setupExportTreeRandom sets up a randomly generated tree.
// nolint: go-lint
func setupExportTreeRandom(t *testing.T) *ImmutableTree {
const (
randSeed = 49872768940 // For deterministic tests
Expand Down
2 changes: 1 addition & 1 deletion node.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func MakeNode(buf []byte) (*Node, error) {
}
buf = buf[n:]
if height < int64(math.MinInt8) || height > int64(math.MaxInt8) {
return nil, errors.New("Invalid height, must be int8")
return nil, errors.New("invalid height, must be int8")
}

size, n, cause := decodeVarint(buf)
Expand Down

0 comments on commit 051ce8f

Please sign in to comment.