diff options
Diffstat (limited to 'absl')
-rw-r--r-- | absl/status/status_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/status/status_test.cc b/absl/status/status_test.cc index 585e7807..c3327ad7 100644 --- a/absl/status/status_test.cc +++ b/absl/status/status_test.cc @@ -497,8 +497,8 @@ TEST(Status, MoveAssignment) { { absl::Status status(absl::StatusCode::kInvalidArgument, "message"); absl::Status copy(status); - status = static_cast<absl::Status&&>(status); - EXPECT_EQ(status, copy); + assignee = static_cast<absl::Status&&>(status); + EXPECT_EQ(assignee, copy); } } |