commit | 185c0c6b63acc15de05d8c0296e8571ab54e9c2c | [log] [tgz] |
---|---|---|
author | Cosmos Nicolaou <cnicolaou@google.com> | Mon Apr 13 21:22:43 2015 -0700 |
committer | Cosmos Nicolaou <cnicolaou@google.com> | Mon Apr 13 21:22:43 2015 -0700 |
tree | 8f2ff2f44f8b075f7e26a25a1c21f61f2b8dcba9 | |
parent | 1cd32ebd1c6575bd70359fba35c4f6c13f26983b [diff] [blame] |
profiles/internal/rpc: more verror conversions and tests. MultiPart: 2/2 Change-Id: Id0e77e55764b6df0116566ff5052b2056c418b40
diff --git a/profiles/internal/rpc/test/simple_test.go b/profiles/internal/rpc/test/simple_test.go index bc653f4..c83ec25 100644 --- a/profiles/internal/rpc/test/simple_test.go +++ b/profiles/internal/rpc/test/simple_test.go
@@ -29,6 +29,10 @@ return "pong", nil } +func (s *simple) Echo(call rpc.ServerCall, arg string) (string, error) { + return arg, nil +} + func (s *simple) Source(call rpc.StreamServerCall, start int) error { i := start backoff := 25 * time.Millisecond