Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(641)

Unified Diff: net/websockets/websocket_deflater_test.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()));
}

Powered by Google App Engine
This is Rietveld 408576698