aboutsummaryrefslogtreecommitdiff
path: root/examples/list_people_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/list_people_test.go')
-rw-r--r--examples/list_people_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/list_people_test.go b/examples/list_people_test.go
index 87d6ad6e..64ea4278 100644
--- a/examples/list_people_test.go
+++ b/examples/list_people_test.go
@@ -5,7 +5,7 @@ import (
"strings"
"testing"
- pb "github.com/google/protobuf/examples/tutorial"
+ pb "github.com/protocolbuffers/protobuf/examples/tutorial"
)
func TestWritePersonWritesPerson(t *testing.T) {
@@ -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,