aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/common/secure_auth_context_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/cpp/common/secure_auth_context_test.cc')
-rw-r--r--test/cpp/common/secure_auth_context_test.cc4
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]);
}