Skip to content

Commit fc2915b

Browse files
committed
resolving comments
1 parent 95f5f47 commit fc2915b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

google/cloud/storage/internal/async/writer_connection_resumed_test.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,7 @@ TEST(WriteConnectionResumed, ResumeUsesWriteObjectSpecFromInitialRequest) {
268268
"test-object");
269269

270270
google::storage::v2::BidiWriteObjectResponse first_response;
271-
google::storage::v2::BidiWriteHandle write_handle;
272-
first_response.mutable_write_handle()->CopyFrom(write_handle);
271+
first_response.mutable_write_handle();
273272
first_response.mutable_resource()->set_generation(12345);
274273

275274
EXPECT_CALL(*mock, PersistedState)
@@ -336,7 +335,6 @@ TEST(WriteConnectionResumed, ResumeUsesAppendObjectSpecFromInitialRequest) {
336335
initial_request.mutable_append_object_spec()->set_object("test-object");
337336

338337
google::storage::v2::BidiWriteObjectResponse first_response;
339-
first_response.clear_write_handle();
340338
first_response.mutable_resource()->set_generation(12345);
341339

342340
EXPECT_CALL(*mock, PersistedState)

0 commit comments

Comments
 (0)