diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-07-22 02:16:37 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-07-22 02:16:37 +0000 |
commit | 16b9431ae01d83de80db7ef3e411d9771ee845e4 (patch) | |
tree | f3f577a111e7b489673c0a48be6c5264bef3e1f2 /test/gtest_output_test_.cc | |
parent | c214ebc830aa918d54e535c6caa2da6317877e12 (diff) | |
download | googletest-16b9431ae01d83de80db7ef3e411d9771ee845e4.tar.gz googletest-16b9431ae01d83de80db7ef3e411d9771ee845e4.tar.bz2 googletest-16b9431ae01d83de80db7ef3e411d9771ee845e4.zip |
Makes gtest compile clean with gcc -Wall -Werror (by Zhanyong Wan); refactors scons script (by Vlad Losev).
Diffstat (limited to 'test/gtest_output_test_.cc')
-rw-r--r-- | test/gtest_output_test_.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gtest_output_test_.cc b/test/gtest_output_test_.cc index 693df3f5..6d756027 100644 --- a/test/gtest_output_test_.cc +++ b/test/gtest_output_test_.cc @@ -743,11 +743,11 @@ class TypedTestP : public testing::Test { TYPED_TEST_CASE_P(TypedTestP); TYPED_TEST_P(TypedTestP, Success) { - EXPECT_EQ(0, TypeParam()); + EXPECT_EQ(0U, TypeParam()); } TYPED_TEST_P(TypedTestP, Failure) { - EXPECT_EQ(1, TypeParam()) << "Expected failure"; + EXPECT_EQ(1U, TypeParam()) << "Expected failure"; } REGISTER_TYPED_TEST_CASE_P(TypedTestP, Success, Failure); |