aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorYilun Chong <yilunchong@google.com>2018-07-12 16:52:16 -0700
committerYilun Chong <yilunchong@google.com>2018-07-12 16:52:16 -0700
commit517190a7d9997ff849b4caf265d1323a825d607f (patch)
tree0958952bf8a9fc4ba3751d3290264a0a298c716e /examples
parent14bc65817566ce6b7429e17ca4bfbc86406f7b0c (diff)
downloadprotobuf-517190a7d9997ff849b4caf265d1323a825d607f.tar.gz
protobuf-517190a7d9997ff849b4caf265d1323a825d607f.tar.bz2
protobuf-517190a7d9997ff849b4caf265d1323a825d607f.zip
fix golang kokoro linux build
Diffstat (limited to 'examples')
-rw-r--r--examples/list_people_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/list_people_test.go b/examples/list_people_test.go
index 87d6ad6e..887997fe 100644
--- a/examples/list_people_test.go
+++ b/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,