src/net/dns/esni_content_unittest.cc
// Merging to an empty EsniContent should make the result equal the source of
// the merge.
Merging to an empty EsniContent should make the result equal the source of
the merge.
Merging to an empty EsniContent should make the result equal the source of the merge .
TEST(EsniContentTest, MergeToEmpty) {
  EsniContent c1;
  c1.AddKey("c");
  IPAddress address = MakeIPAddress();
  c1.AddKeyForAddress(address, "a");
  c1.AddKeyForAddress(address, "b");
  EsniContent empty;
  empty.MergeFrom(c1);
  EXPECT_EQ(c1, empty);
}
TEST ( EsniContentTest , MergeToEmpty ) { EsniContent c1 ; c1 . AddKey ( " " ) ; IPAddress address = MakeIPAddress ( ) ; c1 . AddKeyForAddress ( address , " " ) ; c1 . AddKeyForAddress ( address , " " ) ; EsniContent empty ; empty . MergeFrom ( c1 ) ; EXPECT_EQ ( c1 , empty ) ; }
Merging to an empty EsniContent should make the result equal the source of
the merge.
Merging to an empty EsniContent should make the result equal the source of the merge .