diff --git a/consistenthash/consistenthash_test.go b/consistenthash/consistenthash_test.go index 1a37fd7f..8288abb6 100644 --- a/consistenthash/consistenthash_test.go +++ b/consistenthash/consistenthash_test.go @@ -78,9 +78,9 @@ func TestConsistency(t *testing.T) { hash2.Add("Becky", "Ben", "Bobby") - if hash1.Get("Ben") != hash2.Get("Ben") || - hash1.Get("Bob") != hash2.Get("Bob") || - hash1.Get("Bonny") != hash2.Get("Bonny") { + if hash1.Get("0Bill") != hash2.Get("0Bill") || + hash1.Get("0Bob") != hash2.Get("0Bob") || + hash1.Get("0Bonny") != hash2.Get("0Bonny") { t.Errorf("Direct matches should always return the same entry") }