Explorar o código

fix golang kokoro linux build

Yilun Chong %!s(int64=7) %!d(string=hai) anos
pai
achega
bd1224e7b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,