Index: third_party/WebKit/Source/platform/network/HTTPParsersTest.cpp |
diff --git a/third_party/WebKit/Source/platform/network/HTTPParsersTest.cpp b/third_party/WebKit/Source/platform/network/HTTPParsersTest.cpp |
index 1e5fe82882feeb64783a412a342ee0d47e1b4c89..d98d0e9ba45394a105701104d463767b9b4e1d42 100644 |
--- a/third_party/WebKit/Source/platform/network/HTTPParsersTest.cpp |
+++ b/third_party/WebKit/Source/platform/network/HTTPParsersTest.cpp |
@@ -160,35 +160,42 @@ TEST(HTTPParsersTest, ExtractMIMETypeFromMediaType) { |
const AtomicString textHtml("text/html"); |
EXPECT_EQ(textHtml, extractMIMETypeFromMediaType(AtomicString("text/html"))); |
- EXPECT_EQ(textHtml, extractMIMETypeFromMediaType( |
- AtomicString("text/html; charset=iso-8859-1"))); |
+ EXPECT_EQ(textHtml, |
+ extractMIMETypeFromMediaType( |
+ AtomicString("text/html; charset=iso-8859-1"))); |
// Quoted charset parameter |
- EXPECT_EQ(textHtml, extractMIMETypeFromMediaType( |
- AtomicString("text/html; charset=\"quoted\""))); |
+ EXPECT_EQ(textHtml, |
+ extractMIMETypeFromMediaType( |
+ AtomicString("text/html; charset=\"quoted\""))); |
// Multiple parameters |
- EXPECT_EQ(textHtml, extractMIMETypeFromMediaType( |
- AtomicString("text/html; charset=x; foo=bar"))); |
+ EXPECT_EQ(textHtml, |
+ extractMIMETypeFromMediaType( |
+ AtomicString("text/html; charset=x; foo=bar"))); |
// OWSes are trimmed. |
EXPECT_EQ(textHtml, |
extractMIMETypeFromMediaType(AtomicString(" text/html "))); |
EXPECT_EQ(textHtml, |
extractMIMETypeFromMediaType(AtomicString("\ttext/html \t"))); |
- EXPECT_EQ(textHtml, extractMIMETypeFromMediaType( |
- AtomicString("text/html ; charset=iso-8859-1"))); |
+ EXPECT_EQ(textHtml, |
+ extractMIMETypeFromMediaType( |
+ AtomicString("text/html ; charset=iso-8859-1"))); |
// Non-standard multiple type/subtype listing using a comma as a separator |
// is accepted. |
EXPECT_EQ(textHtml, |
extractMIMETypeFromMediaType(AtomicString("text/html,text/plain"))); |
- EXPECT_EQ(textHtml, extractMIMETypeFromMediaType( |
- AtomicString("text/html , text/plain"))); |
- EXPECT_EQ(textHtml, extractMIMETypeFromMediaType( |
- AtomicString("text/html\t,\ttext/plain"))); |
- EXPECT_EQ(textHtml, extractMIMETypeFromMediaType(AtomicString( |
- "text/html,text/plain;charset=iso-8859-1"))); |
+ EXPECT_EQ( |
+ textHtml, |
+ extractMIMETypeFromMediaType(AtomicString("text/html , text/plain"))); |
+ EXPECT_EQ( |
+ textHtml, |
+ extractMIMETypeFromMediaType(AtomicString("text/html\t,\ttext/plain"))); |
+ EXPECT_EQ(textHtml, |
+ extractMIMETypeFromMediaType( |
+ AtomicString("text/html,text/plain;charset=iso-8859-1"))); |
// Preserves case. |
EXPECT_EQ("tExt/hTMl", |