Index: net/spdy/hpack/hpack_round_trip_test.cc |
diff --git a/net/spdy/hpack/hpack_round_trip_test.cc b/net/spdy/hpack/hpack_round_trip_test.cc |
index 1dd2f6e8763586131cd6cd244ec0ee94aba992a2..606e22895363fdc0782fdf4fbd939ad935f5c226 100644 |
--- a/net/spdy/hpack/hpack_round_trip_test.cc |
+++ b/net/spdy/hpack/hpack_round_trip_test.cc |
@@ -12,9 +12,11 @@ |
#include "net/spdy/hpack/hpack_constants.h" |
#include "net/spdy/hpack/hpack_decoder.h" |
#include "net/spdy/hpack/hpack_encoder.h" |
+#include "net/spdy/spdy_test_utils.h" |
#include "testing/gtest/include/gtest/gtest.h" |
namespace net { |
+namespace test { |
using std::map; |
using std::string; |
@@ -42,7 +44,7 @@ class HpackRoundTripTest : public ::testing::Test { |
encoded.size()); |
success &= decoder_.HandleControlFrameHeadersComplete(1, nullptr); |
- EXPECT_EQ(header_set, decoder_.decoded_block()); |
+ EXPECT_TRUE(CompareSpdyHeaderBlocks(header_set, decoder_.decoded_block())); |
return success; |
} |
@@ -179,4 +181,5 @@ TEST_F(HpackRoundTripTest, RandomizedExamples) { |
} // namespace |
+} // namespace test |
} // namespace net |