src/net/http/http_response_info_unittest.cc
TEST_F(HttpResponseInfoTest, EmptyDnsAliases) {
  response_info_.dns_aliases = {};
  net::HttpResponseInfo restored_response_info;
  PickleAndRestore(response_info_, &restored_response_info);
  EXPECT_TRUE(restored_response_info.dns_aliases.empty());
}
// Test that an empty `dns_aliases` is preserved and doesn't throw an error.
Test that an empty `dns_aliases` is preserved and doesn't throw an error.
Test that an empty ` dns_aliases ` is preserved and doesn ' t throw an error .
TEST_F(HttpResponseInfoTest, EmptyDnsAliases) {
  response_info_.dns_aliases = {};
  net::HttpResponseInfo restored_response_info;
  PickleAndRestore(response_info_, &restored_response_info);
  EXPECT_TRUE(restored_response_info.dns_aliases.empty());
}
TEST_F ( HttpResponseInfoTest , EmptyDnsAliases ) { response_info_ . dns_aliases = { } ; net :: HttpResponseInfo restored_response_info ; PickleAndRestore ( response_info_ , & restored_response_info ) ; EXPECT_TRUE ( restored_response_info . dns_aliases . empty ( ) ) ; }
Test that an empty `dns_aliases` is preserved and doesn't throw an error.
Test that an empty ` dns_aliases ` is preserved and doesn ' t throw an error .