aboutsummaryrefslogtreecommitdiff
path: root/examples/add_person_test.go
diff options
context:
space:
mode:
authorYilun Chong <chongyilun250@sina.com>2018-04-10 14:23:07 -0700
committerGitHub <noreply@github.com>2018-04-10 14:23:07 -0700
commit5fb73f80f29e2521e450af40acd6b762ff483026 (patch)
tree65b0a8a0cce04ca2d4a1ce13a4803513be14d358 /examples/add_person_test.go
parentd7d863ea077690954494fba168f5aba198a8f41c (diff)
parent805174eda2356df1b01752c8bc57019e696e0a75 (diff)
downloadprotobuf-5fb73f80f29e2521e450af40acd6b762ff483026.tar.gz
protobuf-5fb73f80f29e2521e450af40acd6b762ff483026.tar.bz2
protobuf-5fb73f80f29e2521e450af40acd6b762ff483026.zip
Merge pull request #4415 from BSBandme/experiement
Add dashboard support
Diffstat (limited to 'examples/add_person_test.go')
-rw-r--r--examples/add_person_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/add_person_test.go b/examples/add_person_test.go
index 0507db6f..f8ba9338 100644
--- a/examples/add_person_test.go
+++ b/examples/add_person_test.go
@@ -30,10 +30,10 @@ unknown
t.Errorf("promptForAddress(%q) got %d, want ID %d", in, got.Id, 12345)
}
if got.Name != "Example Name" {
- t.Errorf("promptForAddress(%q) => want name %q, got %q", "Example Name", got.Name)
+ t.Errorf("promptForAddress(%q) => want name %q, got %q", in, "Example Name", got.Name)
}
if got.Email != "name@example.com" {
- t.Errorf("promptForAddress(%q) => want email %q, got %q", "name@example.com", got.Email)
+ t.Errorf("promptForAddress(%q) => want email %q, got %q", in, "name@example.com", got.Email)
}
want := []*pb.Person_PhoneNumber{