diff options
author | 2015-07-10 07:52:37 -0700 | |
---|---|---|
committer | 2015-07-10 07:52:37 -0700 | |
commit | d0955f36dc7fc6ad65fe26483b0db0274aa5173f (patch) | |
tree | a077f3d63566ca868cf237a52cc54c01661e4db3 /test/cpp/common/secure_auth_context_test.cc | |
parent | b652fc0d172e0eb1023282fa6ee24eb41cbbea85 (diff) |
Compile fix for Mac
Diffstat (limited to 'test/cpp/common/secure_auth_context_test.cc')
-rw-r--r-- | test/cpp/common/secure_auth_context_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/common/secure_auth_context_test.cc b/test/cpp/common/secure_auth_context_test.cc index 6f8fb8f2cb..a1819dc4d6 100644 --- a/test/cpp/common/secure_auth_context_test.cc +++ b/test/cpp/common/secure_auth_context_test.cc @@ -59,12 +59,12 @@ TEST_F(SecureAuthContextTest, Properties) { SecureAuthContext context(ctx); std::vector<grpc::string> peer_identity = context.GetPeerIdentity(); - EXPECT_EQ(2, peer_identity.size()); + EXPECT_EQ(2u, peer_identity.size()); EXPECT_EQ("chapi", peer_identity[0]); EXPECT_EQ("chapo", peer_identity[1]); EXPECT_EQ("name", context.GetPeerIdentityPropertyName()); std::vector<grpc::string> bar = context.FindPropertyValues("foo"); - EXPECT_EQ(1, bar.size()); + EXPECT_EQ(1u, bar.size()); EXPECT_EQ("bar", bar[0]); } |