Index: net/http/http_server_properties_impl_unittest.cc |
diff --git a/net/http/http_server_properties_impl_unittest.cc b/net/http/http_server_properties_impl_unittest.cc |
index 6a709a962c860818a2905e5efb391cb2ef2d1fe7..c8014741d7a86286029a240a0e1ea76d0e70c426 100644 |
--- a/net/http/http_server_properties_impl_unittest.cc |
+++ b/net/http/http_server_properties_impl_unittest.cc |
@@ -415,6 +415,10 @@ TEST_F(AlternateProtocolServerPropertiesTest, Canonical) { |
impl_.GetAlternateProtocol(test_host_port_pair); |
EXPECT_EQ(canonical_protocol.port, alternate.port); |
EXPECT_EQ(canonical_protocol.protocol, alternate.protocol); |
+ |
+ // Verify the canonical suffix. |
+ EXPECT_EQ(".c.youtube.com", impl_.GetCanonicalSuffix(test_host_port_pair)); |
+ EXPECT_EQ(".c.youtube.com", impl_.GetCanonicalSuffix(canonical_port_pair)); |
} |
typedef HttpServerPropertiesImplTest SpdySettingsServerPropertiesTest; |