Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Unified Diff: third_party/crashpad/crashpad/util/posix/symbolic_constants_posix_test.cc

Issue 2804713002: Update Crashpad to b4095401639ebe2ad33169e5c1d994065cbff1b8 (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/crashpad/crashpad/util/posix/symbolic_constants_posix_test.cc
diff --git a/third_party/crashpad/crashpad/util/posix/symbolic_constants_posix_test.cc b/third_party/crashpad/crashpad/util/posix/symbolic_constants_posix_test.cc
index ddbe336e208e4f881afb503268afe9af2edec618..9cb29b58859b8350d59f3127e7d50be5b4fa0d59 100644
--- a/third_party/crashpad/crashpad/util/posix/symbolic_constants_posix_test.cc
+++ b/third_party/crashpad/crashpad/util/posix/symbolic_constants_posix_test.cc
@@ -88,9 +88,9 @@ void TestSignalToStringOnce(int value,
if (expect[0] == '\0') {
EXPECT_FALSE(actual.empty()) << "signal " << value;
} else {
- EXPECT_EQ(expect, actual) << "signal " << value;
+ EXPECT_EQ(actual, expect) << "signal " << value;
}
- EXPECT_EQ(actual, actual_numeric) << "signal " << value;
+ EXPECT_EQ(actual_numeric, actual) << "signal " << value;
} else {
EXPECT_TRUE(actual.empty()) << "signal " << value << ", actual " << actual;
EXPECT_FALSE(actual_numeric.empty())
@@ -147,7 +147,7 @@ void TestStringToSignal(const base::StringPiece& string,
EXPECT_TRUE(actual_result) << "string " << string << ", options " << options
<< ", signal " << expect_value;
if (actual_result) {
- EXPECT_EQ(expect_value, actual_value) << "string " << string
+ EXPECT_EQ(actual_value, expect_value) << "string " << string
<< ", options " << options;
}
} else {

Powered by Google App Engine
This is Rietveld 408576698