Browse Source

Fix MsgSet reference in test

Vlad Hanciuta 7 năm trước cách đây
mục cha
commit
ed280996b5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      fetch_response_test.go

+ 1 - 1
fetch_response_test.go

@@ -208,7 +208,7 @@ func TestOverflowMessageFetchResponse(t *testing.T) {
 	if n != 1 {
 		t.Fatal("Decoding produced incorrect number of messages.")
 	}
-	msgBlock := block.Records.msgSet.Messages[0]
+	msgBlock := block.Records.MsgSet.Messages[0]
 	if msgBlock.Offset != 0x550000 {
 		t.Error("Decoding produced incorrect message offset.")
 	}