Evan Huus 12 years ago
parent
commit
f3e21d28cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      protocol/metadata_response_test.go

+ 1 - 1
protocol/metadata_response_test.go

@@ -106,7 +106,7 @@ func TestMetadataResponseWithTopics(t *testing.T) {
 				t.Error("Decoding produced invalid topic 0 partition 0 leader.")
 				t.Error("Decoding produced invalid topic 0 partition 0 leader.")
 			}
 			}
 			if len(response.Topics[0].Partitions[0].Replicas) == 3 {
 			if len(response.Topics[0].Partitions[0].Replicas) == 3 {
-				for i:=0; i<3; i++ {
+				for i := 0; i < 3; i++ {
 					if response.Topics[0].Partitions[0].Replicas[i] != int32(i+1) {
 					if response.Topics[0].Partitions[0].Replicas[i] != int32(i+1) {
 						t.Error("Decoding produced invalid topic 0 partition 0 replica", i)
 						t.Error("Decoding produced invalid topic 0 partition 0 replica", i)
 					}
 					}