Skip to content

Commit

Permalink
fix init value error
Browse files Browse the repository at this point in the history
  • Loading branch information
AilinKid committed Sep 10, 2019
1 parent 73f7e33 commit a6ba782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta/autoid/autoid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func (*testSuite) TestUnsignedAutoid(c *C) {
c.Assert(id, Equals, int64(6544))

// Test the MaxUint64 is alloc upper bound but not rebase.
var n uint64 = math.MaxInt64 - 1
var n uint64 = math.MaxUint64 - 1
un := int64(n)
err = alloc.Rebase(3, un, true)
c.Assert(err, IsNil)
Expand Down

0 comments on commit a6ba782

Please sign in to comment.