OS Version: OS X 10.13.0
-c ../../base/mac/scoped_objc_class_swizzler_unittest.mm -o obj/base/base_unittests/scoped_objc_class_swizzler_unittest.o
../../base/mac/scoped_objc_class_swizzler_unittest.mm:118:65: error: null passed to a callee that requires a non-null argument [-Werror,-Wnonnull]
EXPECT_EQ(expected_result, original(nil, @selector(function)));
~~~ ^
../../third_party/googletest/src/googletest/include/gtest/gtest.h:1925:29: note: expanded from macro 'EXPECT_EQ'
val1, val2)
^~~~
../../third_party/googletest/src/googletest/include/gtest/gtest_pred_impl.h:162:40: note: expanded from macro 'EXPECT_PRED_FORMAT2'
GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
^~
../../third_party/googletest/src/googletest/include/gtest/gtest_pred_impl.h:147:43: note: expanded from macro 'GTEST_PRED_FORMAT2_'
GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2), \
^~
../../third_party/googletest/src/googletest/include/gtest/gtest_pred_impl.h:77:52: note: expanded from macro 'GTEST_ASSERT_'
if (const ::testing::AssertionResult gtest_ar = (expression)) \
^~~~~~~~~~
1 error generated.
Comment 1 by tapted@chromium.org
, Jun 6 2017