Index: third_party/crashpad/crashpad/util/win/registration_protocol_win_test.cc |
diff --git a/third_party/crashpad/crashpad/util/win/registration_protocol_win_test.cc b/third_party/crashpad/crashpad/util/win/registration_protocol_win_test.cc |
index 60e7c86c69a99050805b7aa0d722cbc9eef0dd45..10a5bb63cf6c533b6ba5e8052eb9db9a5162acf5 100644 |
--- a/third_party/crashpad/crashpad/util/win/registration_protocol_win_test.cc |
+++ b/third_party/crashpad/crashpad/util/win/registration_protocol_win_test.cc |
@@ -44,8 +44,8 @@ TEST(SecurityDescriptor, MatchesAdvapi32) { |
size_t created_len; |
const void* const created = |
GetSecurityDescriptorForNamedPipeInstance(&created_len); |
- ASSERT_EQ(sec_desc_len, created_len); |
- EXPECT_EQ(0, memcmp(sec_desc, created, sec_desc_len)); |
+ ASSERT_EQ(created_len, sec_desc_len); |
+ EXPECT_EQ(memcmp(sec_desc, created, sec_desc_len), 0); |
} |
} // namespace |