| Index: net/quic/quic_fec_group_test.cc
|
| diff --git a/net/quic/quic_fec_group_test.cc b/net/quic/quic_fec_group_test.cc
|
| index da8d8a0f8627e4828280bb84a1b02f35ff52eddf..d2fd1c6115dfe49f063ec5413fec591ddd1cded5 100644
|
| --- a/net/quic/quic_fec_group_test.cc
|
| +++ b/net/quic/quic_fec_group_test.cc
|
| @@ -20,21 +20,12 @@ namespace net {
|
| namespace {
|
|
|
| const char* kData[] = {
|
| - "abc12345678",
|
| - "987defg",
|
| - "ghi12345",
|
| - "987jlkmno",
|
| - "mno4567890",
|
| - "789pqrstuvw",
|
| + "abc12345678", "987defg", "ghi12345",
|
| + "987jlkmno", "mno4567890", "789pqrstuvw",
|
| };
|
|
|
| const bool kEntropyFlag[] = {
|
| - false,
|
| - true,
|
| - true,
|
| - false,
|
| - true,
|
| - true,
|
| + false, true, true, false, true, true,
|
| };
|
|
|
| } // namespace
|
| @@ -79,7 +70,7 @@ class QuicFecGroupTest : public ::testing::Test {
|
| ASSERT_TRUE(group.CanRevive() == (packet == num_packets - 1));
|
| }
|
| } else {
|
| - // Update the FEC state for each non-lost packet.
|
| + // Update the FEC state for each non-lost packet.
|
| for (size_t packet = 0; packet < num_packets; packet++) {
|
| if (packet == lost_packet) {
|
| continue;
|
| @@ -104,9 +95,8 @@ class QuicFecGroupTest : public ::testing::Test {
|
| char recovered[kMaxPacketSize];
|
| ASSERT_TRUE(group.CanRevive());
|
| size_t len = group.Revive(&header, recovered, arraysize(recovered));
|
| - ASSERT_NE(0u, len)
|
| - << "Failed to revive packet " << lost_packet << " out of "
|
| - << num_packets;
|
| + ASSERT_NE(0u, len) << "Failed to revive packet " << lost_packet
|
| + << " out of " << num_packets;
|
| EXPECT_EQ(lost_packet, header.packet_sequence_number)
|
| << "Failed to revive packet " << lost_packet << " out of "
|
| << num_packets;
|
|
|