소스 검색

fix golang kokoro linux build

Yilun Chong 7 년 전
부모
커밋
517190a7d9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {
 func TestListPeopleWritesList(t *testing.T) {
 	buf := new(bytes.Buffer)
 	buf := new(bytes.Buffer)
-	in := pb.AddressBook{[]*pb.Person{
+	in := pb.AddressBook{People: []*pb.Person {
 		{
 		{
 			Name:  "John Doe",
 			Name:  "John Doe",
 			Id:    101,
 			Id:    101,