Skip to content

Commit

Permalink
produce: adds test case for negative hashCode value.
Browse files Browse the repository at this point in the history
  • Loading branch information
fgeller committed Jun 13, 2016
1 parent 2fd9b37 commit 53fa12e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions produce_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ func TestHashCode(t *testing.T) {
in: "c03a3475-3ed6-4ed1-8ae5-1c432da43e73",
expected: 1116730239,
},
{
in: "random",
expected: -938285885,
},
}

for _, d := range data {
Expand Down

0 comments on commit 53fa12e

Please sign in to comment.