From c27a3c2cdb52831f32baf2961fa5de78d2eb672f Mon Sep 17 00:00:00 2001 From: Maxim Date: Fri, 12 Nov 2021 14:39:50 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Andrew Paseltiner --- locations/method_locations_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/locations/method_locations_test.go b/locations/method_locations_test.go index b11cfc949..289fc20d1 100644 --- a/locations/method_locations_test.go +++ b/locations/method_locations_test.go @@ -124,11 +124,11 @@ func TestMethodOption(t *testing.T) { rpc GetBook(GetBookRequest) returns (Book) { option deprecated = true; } - rpc WriteBook(NewBook) returns (Book) {} + rpc UpdateBook(UpdateBookRequest) returns (Book) {} } message GetBookRequest{} message Book {} - message NewBook {} + message UpdateBookRequest {} `) for _, test := range []struct {