aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/cpp')
-rw-r--r--test/cpp/common/secure_auth_context_test.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/cpp/common/secure_auth_context_test.cc b/test/cpp/common/secure_auth_context_test.cc
index fc8aa8f681..d0243a5432 100644
--- a/test/cpp/common/secure_auth_context_test.cc
+++ b/test/cpp/common/secure_auth_context_test.cc
@@ -92,26 +92,6 @@ TEST_F(SecureAuthContextTest, Iterators) {
EXPECT_EQ("bar", p2.second);
++iter;
EXPECT_EQ(context.end(), iter);
-
- int i = 0;
- for (auto p = context.begin(); p != context.end(); p++) {
- switch (i++) {
- case 0:
- EXPECT_EQ("name", (*p).first);
- EXPECT_EQ("chapi", (*p).second);
- break;
- case 1:
- EXPECT_EQ("name", (*p).first);
- EXPECT_EQ("chapo", (*p).second);
- break;
- case 2:
- EXPECT_EQ("foo", (*p).first);
- EXPECT_EQ("bar", (*p).second);
- break;
- default:
- EXPECT_TRUE(0);
- }
- }
}
} // namespace