Description[gcc] Fix compiler warning turned into errors with gcc while compiling extension_sync_data_unittest.cc
With gcc toolchain, we get following error with EXPECT_FALSE
error: converting ‘false’ to pointer type for argument 1 of
‘char testing::internal::IsNullLiteralHelper(testing::internal::Secret*)’ [-Werror=conversion-null]
Changing EXPECT_EQ(...) to EXPECT_FALSE() fixes the error.
R=kalman@chromium.org, rdevlin.cronin@chromium.org
Committed: https://crrev.com/3b60d1cd04c369d93bfc2a5c137b51f515b3f07c
Cr-Commit-Position: refs/heads/master@{#316587}
Patch Set 1 #
Messages
Total messages: 9 (2 generated)
|