Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abseil-cpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
abseil-cpp
Commits
b97e7f35
Commit
b97e7f35
authored
Mar 11, 2024
by
Abseil Team
Committed by
Copybara-Service
Mar 11, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the move to itself
PiperOrigin-RevId: 614670264 Change-Id: Id6b1cffa4e104a82234130977235f1eb1021968f
parent
e9682564
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
absl/status/status_test.cc
+2
-2
No files found.
absl/status/status_test.cc
View file @
b97e7f35
...
@@ -497,8 +497,8 @@ TEST(Status, MoveAssignment) {
...
@@ -497,8 +497,8 @@ TEST(Status, MoveAssignment) {
{
{
absl
::
Status
status
(
absl
::
StatusCode
::
kInvalidArgument
,
"message"
);
absl
::
Status
status
(
absl
::
StatusCode
::
kInvalidArgument
,
"message"
);
absl
::
Status
copy
(
status
);
absl
::
Status
copy
(
status
);
status
=
static_cast
<
absl
::
Status
&&>
(
status
);
assignee
=
static_cast
<
absl
::
Status
&&>
(
status
);
EXPECT_EQ
(
status
,
copy
);
EXPECT_EQ
(
assignee
,
copy
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment