| Index: components/subresource_filter/core/common/url_pattern_matching_unittest.cc
|
| diff --git a/components/subresource_filter/core/common/url_pattern_matching_unittest.cc b/components/subresource_filter/core/common/url_pattern_matching_unittest.cc
|
| index 801baa66c6df8e378e7928c81ec5ce85f0f46cac..cdf36add41c8a3940af487d4497fbf9b56ffcf23 100644
|
| --- a/components/subresource_filter/core/common/url_pattern_matching_unittest.cc
|
| +++ b/components/subresource_filter/core/common/url_pattern_matching_unittest.cc
|
| @@ -60,7 +60,7 @@ TEST(UrlPatternMatchingTest, BuildFailureFunctionForUrlPattern) {
|
| }
|
| }
|
|
|
| -TEST(UrlPatternMatchingTest, IsMatch) {
|
| +TEST(UrlPatternMatchingTest, IsUrlPatternMatch) {
|
| const struct {
|
| UrlPattern url_pattern;
|
| const char* url;
|
| @@ -142,8 +142,9 @@ TEST(UrlPatternMatchingTest, IsMatch) {
|
|
|
| std::vector<size_t> failure;
|
| BuildFailureFunction(test_case.url_pattern, &failure);
|
| - const bool is_match = IsMatch(GURL(test_case.url), test_case.url_pattern,
|
| - failure.begin(), failure.end());
|
| + const bool is_match =
|
| + IsUrlPatternMatch(GURL(test_case.url), test_case.url_pattern,
|
| + failure.begin(), failure.end());
|
| EXPECT_EQ(test_case.expect_match, is_match);
|
| }
|
| }
|
|
|