Browse Source

fix golang kokoro linux build

Yilun Chong 7 years ago
parent
commit
bd1224e7b6
1 changed files with 1 additions and 1 deletions
  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,