浏览代码

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.")
 	}