src/net/base/scheme_host_port_matcher_rule_unittest.cc
TEST(SchemeHostPortMatcherRuleTest, ParseBracketedCIDR_IPv6) {
  std::unique_ptr<SchemeHostPortMatcherRule> rule =
      SchemeHostPortMatcherRule::FromUntrimmedRawString("[a:b:c:d::]/48");
  EXPECT_EQ(nullptr, rule);
}
// Test that parsing an IPv6 range given a bracketed literal is not supported.
// Whether IPv6 literals need to be bracketed or not is pretty much a coin toss
// depending on the context, and here it is expected to be unbracketed to match
// macOS. It would be fine to support bracketed too, however none of the
// grammars we parse need that.
Test that parsing an IPv6 range given a bracketed literal is not supported.
Whether IPv6 literals need to be bracketed or not is pretty much a coin toss
depending on the context, and here it is expected to be unbracketed to match
macOS. It would be fine to support bracketed too, however none of the
grammars we parse need that.
Test that parsing an IPv6 range given a bracketed literal is not supported . Whether IPv6 literals need to be bracketed or not is pretty much a coin toss depending on the context and here it is expected to be unbracketed to match macOS . It would be fine to support bracketed too however none of the grammars we parse need that .
TEST(SchemeHostPortMatcherRuleTest, ParseBracketedCIDR_IPv6) {
  std::unique_ptr<SchemeHostPortMatcherRule> rule =
      SchemeHostPortMatcherRule::FromUntrimmedRawString("[a:b:c:d::]/48");
  EXPECT_EQ(nullptr, rule);
}
TEST ( SchemeHostPortMatcherRuleTest , ParseBracketedCIDR_IPv6 ) { std :: unique_ptr < SchemeHostPortMatcherRule > rule = SchemeHostPortMatcherRule :: FromUntrimmedRawString ( " " ) ; EXPECT_EQ ( nullptr , rule ) ; }
Test that parsing an IPv6 range given a bracketed literal is not supported.
Test that parsing an IPv6 range given a bracketed literal is not supported .