Browse Source

Fix MsgSet reference in test

Vlad Hanciuta 7 years ago
parent
commit
ed280996b5
1 changed files with 1 additions and 1 deletions
  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.")
 	}