Index: net/quic/quic_protocol_test.cc |
diff --git a/net/quic/quic_protocol_test.cc b/net/quic/quic_protocol_test.cc |
index 3eb315543166ddb05929b4389f3895b714b073c0..393702da325dbd9e9dcacbef8197b4e959f668f4 100644 |
--- a/net/quic/quic_protocol_test.cc |
+++ b/net/quic/quic_protocol_test.cc |
@@ -67,20 +67,6 @@ TEST(QuicProtocolTest, IsAawaitingPacket) { |
EXPECT_TRUE(IsAwaitingPacket(ack_frame2, 50u, 20u)); |
} |
-TEST(QuicProtocolTest, QuicDeprecatedErrorCodeCount) { |
- // If you deprecated any QuicErrorCode, you will need to update the |
- // deprecated QuicErrorCode count. Otherwise this test will fail. |
- int num_deprecated_errors = 0; |
- std::string invalid_error_code = "INVALID_ERROR_CODE"; |
- for (int i = 0; i < QUIC_LAST_ERROR; ++i) { |
- if (QuicUtils::ErrorToString(static_cast<QuicErrorCode>(i)) == |
- invalid_error_code) { |
- ++num_deprecated_errors; |
- } |
- } |
- EXPECT_EQ(kDeprecatedQuicErrorCount, num_deprecated_errors); |
-} |
- |
TEST(QuicProtocolTest, QuicVersionToQuicTag) { |
// If you add a new version to the QuicVersion enum you will need to add a new |
// case to QuicVersionToQuicTag, otherwise this test will fail. |