Index: third_party/WebKit/Source/platform/network/NetworkUtilsTest.cpp |
diff --git a/third_party/WebKit/Source/platform/network/NetworkUtilsTest.cpp b/third_party/WebKit/Source/platform/network/NetworkUtilsTest.cpp |
index 39ba677984bc897a524c59137fae78ecc88bdea0..bad3acfbe5fc72864c3c96505d51dcc3e16d3f57 100644 |
--- a/third_party/WebKit/Source/platform/network/NetworkUtilsTest.cpp |
+++ b/third_party/WebKit/Source/platform/network/NetworkUtilsTest.cpp |
@@ -59,24 +59,32 @@ TEST(NetworkUtilsTest, IsReservedIPAddress) { |
} |
TEST(NetworkUtilsTest, GetDomainAndRegistry) { |
- EXPECT_EQ("", NetworkUtils::getDomainAndRegistry( |
- "", NetworkUtils::IncludePrivateRegistries)); |
- EXPECT_EQ("", NetworkUtils::getDomainAndRegistry( |
- ".", NetworkUtils::IncludePrivateRegistries)); |
- EXPECT_EQ("", NetworkUtils::getDomainAndRegistry( |
- "..", NetworkUtils::IncludePrivateRegistries)); |
- EXPECT_EQ("", NetworkUtils::getDomainAndRegistry( |
- "com", NetworkUtils::IncludePrivateRegistries)); |
- EXPECT_EQ("", NetworkUtils::getDomainAndRegistry( |
- ".com", NetworkUtils::IncludePrivateRegistries)); |
+ EXPECT_EQ("", |
+ NetworkUtils::getDomainAndRegistry( |
+ "", NetworkUtils::IncludePrivateRegistries)); |
+ EXPECT_EQ("", |
+ NetworkUtils::getDomainAndRegistry( |
+ ".", NetworkUtils::IncludePrivateRegistries)); |
+ EXPECT_EQ("", |
+ NetworkUtils::getDomainAndRegistry( |
+ "..", NetworkUtils::IncludePrivateRegistries)); |
+ EXPECT_EQ("", |
+ NetworkUtils::getDomainAndRegistry( |
+ "com", NetworkUtils::IncludePrivateRegistries)); |
+ EXPECT_EQ("", |
+ NetworkUtils::getDomainAndRegistry( |
+ ".com", NetworkUtils::IncludePrivateRegistries)); |
EXPECT_EQ( |
- "", NetworkUtils::getDomainAndRegistry( |
- "www.example.com:8000", NetworkUtils::IncludePrivateRegistries)); |
+ "", |
+ NetworkUtils::getDomainAndRegistry( |
+ "www.example.com:8000", NetworkUtils::IncludePrivateRegistries)); |
- EXPECT_EQ("", NetworkUtils::getDomainAndRegistry( |
- "localhost", NetworkUtils::IncludePrivateRegistries)); |
- EXPECT_EQ("", NetworkUtils::getDomainAndRegistry( |
- "127.0.0.1", NetworkUtils::IncludePrivateRegistries)); |
+ EXPECT_EQ("", |
+ NetworkUtils::getDomainAndRegistry( |
+ "localhost", NetworkUtils::IncludePrivateRegistries)); |
+ EXPECT_EQ("", |
+ NetworkUtils::getDomainAndRegistry( |
+ "127.0.0.1", NetworkUtils::IncludePrivateRegistries)); |
EXPECT_EQ("example.com", |
NetworkUtils::getDomainAndRegistry( |
@@ -87,9 +95,10 @@ TEST(NetworkUtilsTest, GetDomainAndRegistry) { |
EXPECT_EQ("example.com", |
NetworkUtils::getDomainAndRegistry( |
"static.example.com", NetworkUtils::IncludePrivateRegistries)); |
- EXPECT_EQ("example.com", NetworkUtils::getDomainAndRegistry( |
- "multilevel.www.example.com", |
- NetworkUtils::IncludePrivateRegistries)); |
+ EXPECT_EQ("example.com", |
+ NetworkUtils::getDomainAndRegistry( |
+ "multilevel.www.example.com", |
+ NetworkUtils::IncludePrivateRegistries)); |
EXPECT_EQ("example.co.uk", |
NetworkUtils::getDomainAndRegistry( |
"www.example.co.uk", NetworkUtils::IncludePrivateRegistries)); |