diff options
Diffstat (limited to 'net/base/transport_security_state_unittest.cc')
-rw-r--r-- | net/base/transport_security_state_unittest.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/base/transport_security_state_unittest.cc b/net/base/transport_security_state_unittest.cc index c4a173c..2a06501 100644 --- a/net/base/transport_security_state_unittest.cc +++ b/net/base/transport_security_state_unittest.cc @@ -342,6 +342,9 @@ TEST_F(TransportSecurityStateTest, Preloaded) { EXPECT_TRUE(state->IsEnabledForHost(&domain_state, "www.noisebridge.net")); EXPECT_FALSE(state->IsEnabledForHost(&domain_state, "noisebridge.net")); EXPECT_FALSE(state->IsEnabledForHost(&domain_state, "foo.noisebridge.net")); + + EXPECT_TRUE(state->IsEnabledForHost(&domain_state, "neg9.org")); + EXPECT_FALSE(state->IsEnabledForHost(&domain_state, "www.neg9.org")); } TEST_F(TransportSecurityStateTest, LongNames) { |