Index: net/websockets/websocket_deflater_test.cc |
diff --git a/net/websockets/websocket_deflater_test.cc b/net/websockets/websocket_deflater_test.cc |
index ae0133c64242984efe3c1e04e0fffd55692d1a95..71b391b509011d6edf69c75c91ed61b0199e21a0 100644 |
--- a/net/websockets/websocket_deflater_test.cc |
+++ b/net/websockets/websocket_deflater_test.cc |
@@ -92,9 +92,11 @@ TEST(WebSocketDeflaterTest, GetMultipleDeflatedOutput) { |
ASSERT_TRUE(deflater.Finish()); |
actual = deflater.GetOutput(deflater.CurrentOutputSize()); |
- EXPECT_EQ(std::string("\xf2\x48\xcd\xc9\xc9\x07\x00\x00\x00\xff\xff" |
- "\x00\x00\x00\xff\xff" |
- "\xf2\x00\x11\x00\x00", 21), |
+ EXPECT_EQ(std::string( |
+ "\xf2\x48\xcd\xc9\xc9\x07\x00\x00\x00\xff\xff" |
+ "\x00\x00\x00\xff\xff" |
+ "\xf2\x00\x11\x00\x00", |
+ 21), |
ToString(actual.get())); |
ASSERT_EQ(0u, deflater.CurrentOutputSize()); |
} |
@@ -111,8 +113,10 @@ TEST(WebSocketDeflaterTest, WindowBits8) { |
ASSERT_TRUE(deflater.AddBytes(input.data(), input.size())); |
ASSERT_TRUE(deflater.Finish()); |
actual = deflater.GetOutput(deflater.CurrentOutputSize()); |
- EXPECT_EQ(std::string("r\xce(\xca\xcf\xcd,\xcdM\x1c\xe1\xc0\x39\xa3" |
- "(?7\xb3\x34\x17\x00", 21), |
+ EXPECT_EQ(std::string( |
+ "r\xce(\xca\xcf\xcd,\xcdM\x1c\xe1\xc0\x39\xa3" |
+ "(?7\xb3\x34\x17\x00", |
+ 21), |
ToString(actual.get())); |
} |