| Index: net/quic/quic_framer_test.cc
|
| diff --git a/net/quic/quic_framer_test.cc b/net/quic/quic_framer_test.cc
|
| index 9ba0fd6e4bbcf8d04443e668ec73c0cad1b72d1f..9a9120b14ba6878c33cbac1057b9a3ea0721468c 100644
|
| --- a/net/quic/quic_framer_test.cc
|
| +++ b/net/quic/quic_framer_test.cc
|
| @@ -4538,20 +4538,12 @@ TEST_P(QuicFramerTest, BuildPingPacket) {
|
| 0x07,
|
| };
|
|
|
| - if (version_ >= QUIC_VERSION_18) {
|
| - scoped_ptr<QuicPacket> data(BuildDataPacket(header, frames));
|
| - ASSERT_TRUE(data != nullptr);
|
| -
|
| - test::CompareCharArraysWithHexError("constructed packet", data->data(),
|
| - data->length(), AsChars(packet),
|
| - arraysize(packet));
|
| - } else {
|
| - string expected_error =
|
| - "Attempt to add a PingFrame in " + QuicVersionToString(version_);
|
| - EXPECT_DFATAL(BuildDataPacket(header, frames),
|
| - expected_error);
|
| - return;
|
| - }
|
| + scoped_ptr<QuicPacket> data(BuildDataPacket(header, frames));
|
| + ASSERT_TRUE(data != nullptr);
|
| +
|
| + test::CompareCharArraysWithHexError("constructed packet", data->data(),
|
| + data->length(), AsChars(packet),
|
| + arraysize(packet));
|
| }
|
|
|
| TEST_P(QuicFramerTest, BuildPublicResetPacket) {
|
|
|