Browse Source

fix golang kokoro linux build

Yilun Chong 7 năm trước cách đây
mục cha
commit
bd1224e7b6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/list_people_test.go

+ 1 - 1
examples/list_people_test.go

@@ -34,7 +34,7 @@ func TestWritePersonWritesPerson(t *testing.T) {
 
 func TestListPeopleWritesList(t *testing.T) {
 	buf := new(bytes.Buffer)
-	in := pb.AddressBook{[]*pb.Person{
+	in := pb.AddressBook{People: []*pb.Person {
 		{
 			Name:  "John Doe",
 			Id:    101,