Index: chrome/browser/safe_browsing/client_side_detection_service_unittest.cc |
diff --git a/chrome/browser/safe_browsing/client_side_detection_service_unittest.cc b/chrome/browser/safe_browsing/client_side_detection_service_unittest.cc |
index 55c0f0ea28bb4a4707d844c0381f708b5cb46437..53e8dfafd478310d7e4128b96f5285378a788e7a 100644 |
--- a/chrome/browser/safe_browsing/client_side_detection_service_unittest.cc |
+++ b/chrome/browser/safe_browsing/client_side_detection_service_unittest.cc |
@@ -565,7 +565,6 @@ TEST_F(ClientSideDetectionServiceTest, ModelHasValidHashIds) { |
model.add_hashes("bla"); |
EXPECT_TRUE(ClientSideDetectionService::ModelHasValidHashIds(model)); |
model.add_page_term(0); |
- model.add_page_word(0); |
EXPECT_TRUE(ClientSideDetectionService::ModelHasValidHashIds(model)); |
model.add_page_term(-1); |
@@ -575,13 +574,6 @@ TEST_F(ClientSideDetectionServiceTest, ModelHasValidHashIds) { |
model.set_page_term(1, 0); |
EXPECT_TRUE(ClientSideDetectionService::ModelHasValidHashIds(model)); |
- model.add_page_word(-2); |
- EXPECT_FALSE(ClientSideDetectionService::ModelHasValidHashIds(model)); |
- model.set_page_word(1, 2); |
- EXPECT_FALSE(ClientSideDetectionService::ModelHasValidHashIds(model)); |
- model.set_page_word(1, 0); |
- EXPECT_TRUE(ClientSideDetectionService::ModelHasValidHashIds(model)); |
- |
// Test bad rules. |
model.add_hashes("blu"); |
ClientSideModel::Rule* rule = model.add_rule(); |