ソースを参照

Fix MsgSet reference in test

Vlad Hanciuta 7 年 前
コミット
ed280996b5
1 ファイル変更1 行追加1 行削除
  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.")
 	}